X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bibframe%2Ftriplestore.xml;h=f227102a1ebe8239fb752b663ed95aac61cc9266;hb=940489f5143549dd69ffa456e47e13b7c94aa29a;hp=aae572563fe1e8b0c9891eb37a617c775cb4efbc;hpb=8ae9650f354ef45a98deba37f572f48b59d81e8b;p=mp-sparql-moved-to-github.git diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index aae5725..f227102 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -32,11 +32,17 @@ ?child ?op2 %v FILTER(contains(STR(%v), %s)) } + GROUP BY $work rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
CONSTRUCT { ?work bf:title ?title . ?work bf:author ?creator . ?work bf:instanceTitle ?it }
+
CONSTRUCT { + ?work bf:title ?wtitle . + ?work bf:instanceTitle ?title . + ?work bf:author ?creator . + ?work bf:subject ?subjectlabel } +
?work a bf:Work ?work bf:workTitle ?wt @@ -52,7 +58,7 @@ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
SELECT DISTINCT ?instance ?title ?format
+
SELECT ?instance ?title ?format
?instance a bf:Instance ?instance bf:title ?title