X-Git-Url: http://git.indexdata.com/?p=mp-sparql-moved-to-github.git;a=blobdiff_plain;f=bibframe%2Ftriplestore.xml;h=6a0cefb4af58cd019fcfe6e63c35848814eeec77;hp=ac5b4920e2495cd439fbe75253f3312c014844b3;hb=HEAD;hpb=7b3a33402454212eb04c7d12a7c21053035c7fd9 diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index ac5b492..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)) @@ -201,6 +241,11 @@ ?thing bf:contentCategory %u + + + %v_inst bf:instanceOf ?thing FILTER ( %v_inst = %u) + + @@ -376,7 +421,7 @@ %v_isbn bf:identifierValue %v FILTER( %v = %s ) } - + ?thing bf:lccn %v_lccn . @@ -384,6 +429,11 @@ %v_lccn bf:identifierValue %v FILTER( %v = %s ) + + + ?thing bf:instanceOf %u + + @@ -551,22 +601,17 @@ + ?thing ?rel ?obj FILTER( str(?thing) = %s ) - - - - ?thing ?rel ?obj FILTER( str(?obj) = %s ) - - +
http -