diff options
author | Munyoki Kilyungi | 2023-12-07 16:10:14 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-12-07 16:11:31 +0300 |
commit | d508d902d4575028b3972cfa281aec99182b786f (patch) | |
tree | e6acdceb0a53e369870efe6f37987bef937d9500 /gn3 | |
parent | 9ecd2e6141de81a43f568f94d106c045e73c3872 (diff) | |
download | genenetwork3-d508d902d4575028b3972cfa281aec99182b786f.tar.gz |
Add optional property for platform info in dataset representation.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/api/metadata.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py index e0f8ff7..62abf26 100644 --- a/gn3/api/metadata.py +++ b/gn3/api/metadata.py @@ -162,6 +162,7 @@ CONSTRUCT { FILTER (!regex(str(?predicate), '(hasTissueInfo)', 'i')) . FILTER (!regex(str(?predicate), '(usesNormalization)', 'i')) . FILTER (!regex(str(?predicate), '(platformInfo)', 'i')) . + OPTIONAL { ?dataset gnt:hasPlatformInfo ?platformInfo . } . OPTIONAL { ?inbredSet ^skos:member gnc:Set ; ^gnt:belongsToGroup ?dataset ; |