From b34de1b90e4a5bdf9bc0970a26ba2b29ffe4b8d5 Mon Sep 17 00:00:00 2001 From: Heikki Levanto Date: Tue, 17 Feb 2015 14:32:41 +0100 Subject: [PATCH] MPSPARQL-7: kw search by UNION of title, author, and subject --- bibframe/triplestore.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index 477eb24..db8aae6 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -21,6 +21,12 @@ ?wt bf:titleValue %v FILTER(contains(%v, %s)) ?creator bf:label %v FILTER(contains(%v, %s)) ?subject bf:label %v FILTER(contains(%v, %s)) + { + { ?wt bf:titleValue %v FILTER(contains(%v, %s)) } + UNION { ?creator bf:label %v FILTER(contains(%v, %s)) } + UNION { ?subject bf:label %v FILTER(contains(%v, %s)) } + } + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns -- 1.7.10.4