<filters xmlns="http://indexdata.com/metaproxy">
<filter type="sparql">
- <defaults uri="http://bibframe.indexdata.com:21/sparql/"/>
+ <defaults uri="http://bibframe.indexdata.com/sparql/"/>
<db path="work" schema="sparql-results">
<prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
<prefix>bf: http://bibframe.org/vocab/</prefix>
<form>SELECT
?work
- MAX(?wtitle) AS ?title
- MAX(?creatorlabel) AS ?creator
- MAX(?subjectlabel) AS ?subject
+ (sql:GROUP_DIGEST (?wtitle, ' ; ', 1000, 1)) AS ?title
+ (sql:GROUP_DIGEST (?creatorlabel, ' ; ', 1000, 1))AS ?creator
+ (sql:GROUP_DIGEST (?subjectlabel, ' ; ', 1000, 1))AS ?subject
</form>
<criteria>?work a bf:Work</criteria>
<index type="21">?subject bf:label %v FILTER(contains(%v, %s))</index>
<index type="1016"> {
?work ?op1 ?child .
- ?child ?op2 ?val FILTER(contains(STR(?val), %s))
+ ?child ?op2 %v FILTER(contains(STR(%v), %s))
}
</index>
- <modifier>GROUP BY $work</modifier>
</db>
<db path="works" schema="rdf">
<prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>