X-Git-Url: http://git.indexdata.com/?p=mp-sparql-moved-to-github.git;a=blobdiff_plain;f=bibframe%2Ftriplestore.xml;h=56b80fa7dc46f4ddba3683bbbdb7054d8683175e;hp=7a6f5068536c3eba721cdfcd41e3be836edee3bd;hb=fea72715438bf7e340fb08a22fbb97df31dd2ec8;hpb=29b5585d478fd67ca994c6c76bc454a8e24f79f1
diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml
index 7a6f506..56b80fa 100644
--- a/bibframe/triplestore.xml
+++ b/bibframe/triplestore.xml
@@ -3,7 +3,23 @@
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns
bf: http://bibframe.org/vocab/
- DISTINCT ?work ?wtitle ?creatorlabel ?subjectlabel
+
+ ?work a bf:Work
+
+ ?work bf:workTitle ?wt
+ ?wt bf:titleValue ?wtitle
+ ?wt bf:titleValue %v FILTER(contains(%v, %s))
+ ?work bf:creator ?creator
+ ?creator bf:label ?creatorlabel
+ ?creator bf:label %v FILTER(contains(%v, %s))
+ ?work bf:subject ?subject
+ ?subject bf:label ?subjectlabel
+ ?subject bf:label %v FILTER(contains(%v, %s))
+
+
+ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns
+ bf: http://bibframe.org/vocab/
+
?work a bf:Work
?work bf:workTitle ?wt
@@ -19,7 +35,7 @@
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns
bf: http://bibframe.org/vocab/
- DISTINCT ?instance ?title ?format
+
?instance a bf:Instance
?instance bf:title ?title