about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 ;