aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-11-30 15:48:49 +0300
committerBonfaceKilz2023-11-30 16:23:02 +0300
commita73080bcc5e05a0997ded4debafef3b0a34a6b67 (patch)
tree03782fd5df8c27deb8ba47e4d1668f6a41066a2e /gn3/api
parentd98bdfbd716e34efd569a888ff9f4571ca170d95 (diff)
downloadgenenetwork3-a73080bcc5e05a0997ded4debafef3b0a34a6b67.tar.gz
Place publication details on a sub-graph of its own.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/metadata.py2
1 files changed, 1 insertions, 1 deletions
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 ;