X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=bibframe%2Ftriplestore.xml;h=6a0cefb4af58cd019fcfe6e63c35848814eeec77;hb=refs%2Fheads%2Fmaster;hp=a278f410f6ba2b8c7b4a347754f6a8b790ed0fcf;hpb=63fac78a5a009f8077953d94916017d0617f6f5e;p=mp-sparql-moved-to-github.git diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index a278f41..6a0cefb 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -1,5 +1,38 @@ + + @@ -9,7 +42,6 @@ - rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/
SELECT DISTINCT ?thing
@@ -17,7 +49,7 @@ - ?thing rdf:type ?any FILTER( ?thing = %u ) + ?thing %v_rel %v_obj FILTER( ?thing = %u ) @@ -26,6 +58,14 @@ ?thing a %t + + + + + ?thing %v_rel %u + + + @@ -48,7 +88,7 @@ - + ?thing ?rel %vx . %vx a bf:Person . %vx bf:label %v FILTER(contains(%v, %s)) @@ -163,7 +203,6 @@ %v_inst bf:instanceOf ?thing . %v_inst bf:instanceTitle %v_ti . %v_ti bf:titleValue %v FILTER(contains(%v, %s)) - } UNION { } @@ -202,6 +241,11 @@ ?thing bf:contentCategory %u + + + %v_inst bf:instanceOf ?thing FILTER ( %v_inst = %u) + + @@ -378,6 +422,18 @@ } + + + ?thing bf:lccn %v_lccn . + %v_lccn a bf:Identifier . + %v_lccn bf:identifierValue %v FILTER( %v = %s ) + + + + + ?thing bf:instanceOf %u + + @@ -545,26 +601,17 @@ - - - rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns - bf: http://bibframe.org/vocab/ -
SELECT ?node ?rel ?obj
- ?node ?rel ?obj FILTER( str(?node) = %s ) -
- - - - rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns - bf: http://bibframe.org/vocab/ -
SELECT ?node ?rel ?obj
- ?node ?rel ?obj FILTER( str(?obj) = %s ) + + + + ?thing ?rel ?obj FILTER( str(?thing) = %s ) + +
http -