From c2f66096841eb02cf1d68e79660ca57e6a9b4b65 Mon Sep 17 00:00:00 2001 From: Heikki Levanto Date: Fri, 8 May 2015 16:08:07 +0200 Subject: [PATCH] LOC-6: Isbn indexes for instances --- bibframe/triplestore.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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 ) + } + + + -- 1.7.10.4