aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-12-07 16:10:14 +0300
committerBonfaceKilz2023-12-07 16:11:31 +0300
commitd508d902d4575028b3972cfa281aec99182b786f (patch)
treee6acdceb0a53e369870efe6f37987bef937d9500 /gn3
parent9ecd2e6141de81a43f568f94d106c045e73c3872 (diff)
downloadgenenetwork3-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.py1
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 ;