From: Heikki Levanto Date: Fri, 8 May 2015 14:08:07 +0000 (+0200) Subject: LOC-6: Isbn indexes for instances X-Git-Tag: v0.6~25^2~1 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=c2f66096841eb02cf1d68e79660ca57e6a9b4b65;p=mp-sparql-moved-to-github.git LOC-6: Isbn indexes for instances --- diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index b5d529f..7fd29fd 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -321,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 ) + } + + +