X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bibframe%2Ftriplestore.xml;h=6450a9f6a9d58929662d419cf150a160251d2ce4;hb=40bb6a5bb0589258e333b867d54b8109c44f83f7;hp=a278f410f6ba2b8c7b4a347754f6a8b790ed0fcf;hpb=63fac78a5a009f8077953d94916017d0617f6f5e;p=mp-sparql-moved-to-github.git diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index a278f41..6450a9f 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -17,7 +17,7 @@ - ?thing rdf:type ?any FILTER( ?thing = %u ) + ?thing %v_rel %v_obj FILTER( ?thing = %u ) @@ -26,6 +26,14 @@ ?thing a %t + + + + + ?thing %v_rel %u + + + @@ -48,7 +56,7 @@ - + ?thing ?rel %vx . %vx a bf:Person . %vx bf:label %v FILTER(contains(%v, %s)) @@ -163,7 +171,6 @@ %v_inst bf:instanceOf ?thing . %v_inst bf:instanceTitle %v_ti . %v_ti bf:titleValue %v FILTER(contains(%v, %s)) - } UNION { } @@ -202,6 +209,11 @@ ?thing bf:contentCategory %u + + + %v_inst bf:instanceOf ?thing FILTER ( %v_inst = %u) + + @@ -378,6 +390,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 +569,16 @@ - - - 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 -