projects
/
mp-sparql-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow solution sequence / modifier MPSPARQL-9
[mp-sparql-moved-to-github.git]
/
doc
/
sparql.xml
diff --git
a/doc/sparql.xml
b/doc/sparql.xml
index
d374ef6
..
e23b149
100644
(file)
--- a/
doc/sparql.xml
+++ b/
doc/sparql.xml
@@
-29,7
+29,10
@@
Configuration consists of one or more db elements. Each db element
describes how to access a specific database. The db element takes
attributes name of Z39.50 database (<literal>path</literal>) and
Configuration consists of one or more db elements. Each db element
describes how to access a specific database. The db element takes
attributes name of Z39.50 database (<literal>path</literal>) and
- HTTP access point of triplestore (<literal>uri</literal>). Each
+ HTTP access point of triplestore (<literal>uri</literal>).
+ Optionally, the schema for the database may be given with attribute
+ <literal>schema</literal>.
+ Each
db element takes these elements:
Configurable values:
<variablelist>
db element takes these elements:
Configurable values:
<variablelist>
@@
-74,6
+77,15
@@
</para>
</listitem>
</varlistentry>
</para>
</listitem>
</varlistentry>
+ <varlistentry><term><modifier/></term>
+ <listitem>
+ <para>
+ Optional section that allows you to add solution sequences or
+ modifiers.
+ </para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</para>
</refsect1>
</variablelist>
</para>
</refsect1>
@@
-92,10
+104,13
@@
the field (use attribute) "bf.wtitle" is supported.
<screen><![CDATA[
<filter type="sparql">
the field (use attribute) "bf.wtitle" is supported.
<screen><![CDATA[
<filter type="sparql">
- <db path="Default" uri="http://bibframe.indexdata.com/sparql/">
+ <db path="Default"
+ uri="http://bibframe.indexdata.com/sparql/"
+ schema="sparql-results"
+ >
<prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
<prefix>bf: http://bibframe.org/vocab/</prefix>
<prefix>rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns</prefix>
<prefix>bf: http://bibframe.org/vocab/</prefix>
- <field>?work ?wtitle</field>
+ <field>SELECT ?work ?wtitle</field>
<criteria>?work a bf:Work</criteria>
<criteria>?work bf:workTitle ?wt</criteria>
<criteria>?wt bf:titleValue ?wtitle</criteria>
<criteria>?work a bf:Work</criteria>
<criteria>?work bf:workTitle ?wt</criteria>
<criteria>?wt bf:titleValue ?wtitle</criteria>