diff options
author | Munyoki Kilyungi | 2023-11-30 15:48:49 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-11-30 16:23:02 +0300 |
commit | a73080bcc5e05a0997ded4debafef3b0a34a6b67 (patch) | |
tree | 03782fd5df8c27deb8ba47e4d1668f6a41066a2e /gn3 | |
parent | d98bdfbd716e34efd569a888ff9f4571ca170d95 (diff) | |
download | genenetwork3-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')
-rw-r--r-- | gn3/api/metadata.py | 2 |
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 ; |