projects
/
mp-sparql-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2ba1be8
)
MPSPARQL-7: kw search by UNION of title, author, and subject
author
Heikki Levanto
<heikki@indexdata.dk>
Tue, 17 Feb 2015 13:32:41 +0000
(14:32 +0100)
committer
Heikki Levanto
<heikki@indexdata.dk>
Tue, 17 Feb 2015 13:32:41 +0000
(14:32 +0100)
bibframe/triplestore.xml
patch
|
blob
|
history
diff --git
a/bibframe/triplestore.xml
b/bibframe/triplestore.xml
index
477eb24
..
db8aae6
100644
(file)
--- a/
bibframe/triplestore.xml
+++ b/
bibframe/triplestore.xml
@@
-21,6
+21,12
@@
<index type="4">?wt bf:titleValue %v FILTER(contains(%v, %s))</index>
<index type="1003">?creator bf:label %v FILTER(contains(%v, %s))</index>
<index type="21">?subject bf:label %v FILTER(contains(%v, %s))</index>
<index type="4">?wt bf:titleValue %v FILTER(contains(%v, %s))</index>
<index type="1003">?creator bf:label %v FILTER(contains(%v, %s))</index>
<index type="21">?subject bf:label %v FILTER(contains(%v, %s))</index>
+ <index type="1016"> {
+ { ?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)) }
+ }
+ </index>
</db>
<db path="works" uri="http://bibframe.indexdata.com/sparql/" schema="rdf">
<prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
</db>
<db path="works" uri="http://bibframe.indexdata.com/sparql/" schema="rdf">
<prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>