From a73080bcc5e05a0997ded4debafef3b0a34a6b67 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Thu, 30 Nov 2023 15:48:49 +0300 Subject: Place publication details on a sub-graph of its own. Signed-off-by: Munyoki Kilyungi --- gn3/api/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/api') diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py index 4e42677..d67fcbd 100644 --- a/gn3/api/metadata.py +++ b/gn3/api/metadata.py @@ -428,13 +428,13 @@ $prefix CONSTRUCT { ?phenotype ?predicate ?object ; - ?pubPredicate ?pubObject ; gnt:belongsToSpecies ?speciesName ; dcat:Distribution ?dataset ; gnt:belongsToGroup ?inbredSetName . ?dataset skos:prefLabel ?datasetName ; dct:identifier ?datasetLabel ; rdf:type dcat:Dataset . + ?publication ?pubPredicate ?pubObject . } WHERE { ?phenotype skos:altLabel "$name" ; xkos:classifiedUnder ?inbredSet ; -- cgit v1.2.3