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~26 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a9c97a12f169b4ae788da1593911e4a8380cfb58;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..02d62c5 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -321,6 +321,31 @@ } + + + + + + + + { + ?thing bf:isbn10 %v + FILTER(isUri(%v) && contains(str(%v), %s)) + } UNION { + ?thing bf:isbn13 %v + FILTER(isUri(%v) && 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 ) + } + + +