X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bibframe%2Ftriplestore.xml;h=02d62c517361a9f8173eb68fd24d210b87821543;hb=a9c97a12f169b4ae788da1593911e4a8380cfb58;hp=8de1293cced602c760d35d246bd2632023261580;hpb=cd1e5e0f93b8d769e9b19e739c64f6de321cf747;p=mp-sparql-moved-to-github.git
diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml
index 8de1293..02d62c5 100644
--- a/bibframe/triplestore.xml
+++ b/bibframe/triplestore.xml
@@ -17,11 +17,17 @@
- ?thing rdf:type ?any FILTER( ?thing = %u )
+ ?thing rdf:type ?any FILTER( ?thing = %u )
+
+
+
+
+ ?thing a %t
+
-
+
CONSTRUCT {
%u ?rel ?subj
@@ -157,22 +163,27 @@
?subject bf:label %v FILTER(contains(%v, %s))
+
+
+
+ ?thing bf:contentCategory %u
+
-
-
+
+
CONSTRUCT {
- %u ?rel ?wobj1 .
- ?wobj1 ?wrel1 ?wobj2 .
- ?wobj2 ?wrel2 ?wobj3 .
+ %u ?wrel1 ?wobj1 .
+ ?wobj1 ?wrel2 ?wobj2 .
+ ?wobj2 ?wrel3 ?wobj3 .
?inst ?irel1 ?iobj1 .
?iobj1 ?irel2 ?iobj2 .
?iobj2 ?irel3 ?iobj3
}
WHERE {
%u a bf:Work .
- %u ?rel ?wobj1 .
+ %u ?wrel1 ?wobj1 .
OPTIONAL {
?wobj1 ?wrel2 ?wobj2
@@ -310,9 +321,34 @@
}
+
+
+
+
+
+
+
+ {
+ ?thing bf:isbn10 %v
+ FILTER(isUri(%v) && contains(str(%v), %s))
+ } UNION {
+ ?thing bf:isbn13 %v
+ FILTER(isUri(%v) && contains(str(%v), %s))
+ } UNION {
+ {
+ ?thing bf:isbn10 ?isbn
+ } UNION {
+ ?thing bf:isbn13 ?isbn
+ }
+ ?isbn a bf:Identifier .
+ ?isbn bf:identifierValue %v FILTER( %v = %s )
+ }
+
+
+
-
+
CONSTRUCT {
%u ?irel1 ?iobj1 .
?iobj1 ?irel2 ?iobj2 .
@@ -363,7 +399,7 @@
-
+
CONSTRUCT {