From d508d902d4575028b3972cfa281aec99182b786f Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Thu, 7 Dec 2023 16:10:14 +0300 Subject: Add optional property for platform info in dataset representation. Signed-off-by: Munyoki Kilyungi --- gn3/api/metadata.py | 1 + 1 file changed, 1 insertion(+) (limited to 'gn3') 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 ; -- cgit v1.2.3