X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=bibframe%2Ftriplestore.xml;h=6a0cefb4af58cd019fcfe6e63c35848814eeec77;hb=HEAD;hp=65aa8af3cf6ad417fceb6673293388741e71ad5e;hpb=58148924763c611c0e1eddf400675052a335902c;p=mp-sparql-moved-to-github.git diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index 65aa8af..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,18 +601,17 @@ + - ?thing ?rel ?obj FILTER( str(?thing) = %s ) - - - - ?thing ?rel ?obj FILTER( str(?obj) = %s ) + + ?thing ?rel ?obj FILTER( str(?thing) = %s ) + +
http -