X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bibframe%2Ftriplestore.xml;h=7fd29fd699396563c10f95f37477e315b6db7f1d;hb=c2f66096841eb02cf1d68e79660ca57e6a9b4b65;hp=36e49eb822ab61766b3afb6715571a51542f4191;hpb=c835a3a7536f6c1b7314272c5cd5293004155ca3;p=mp-sparql-moved-to-github.git diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index 36e49eb..7fd29fd 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(contains(str(%v), %s)) + } UNION { + ?thing bf:isbn13 %v + FILTER(contains(str(%v), %s)) + } UNION { + { + ?thing bf:isbn10 ?isbn + } UNION { + ?thing bf:isbn13 ?isbn + } + ?isbn a bf:Identifier . + ?isbn bf:identifierValue %v FILTER( %v = %s ) + } + + +