X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bibframe%2Ftriplestore.xml;h=eb5db31fa1996b37264f10e0a949d2e5f755d1c5;hb=0fc331d6e264de65af7b438316c2f1134a5fdf23;hp=36e49eb822ab61766b3afb6715571a51542f4191;hpb=c835a3a7536f6c1b7314272c5cd5293004155ca3;p=mp-sparql-moved-to-github.git diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index 36e49eb..eb5db31 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -17,8 +17,14 @@ - ?thing rdf:type ?any FILTER( ?thing = %u ) + ?thing rdf:type ?any FILTER( ?thing = %u ) + + + + + ?thing a %t + @@ -157,6 +163,11 @@ ?subject bf:label %v FILTER(contains(%v, %s)) + + + + ?thing bf:contentCategory %u + @@ -310,6 +321,31 @@ } + + + + + + + + { + ?thing bf:isbn10 %v + FILTER(isLiteral(%v) && contains(%v, %s)) + } UNION { + ?thing bf:isbn13 %v + FILTER(isLiteral(%v) && contains(%v, %s)) + } UNION { + { + ?thing bf:isbn10 ?isbn + } UNION { + ?thing bf:isbn13 ?isbn + } + ?isbn a bf:Identifier . + ?isbn bf:identifierValue %v FILTER( %v = %s ) + } + + +