X-Git-Url: http://git.indexdata.com/?p=mp-sparql-moved-to-github.git;a=blobdiff_plain;f=doc%2Fsparql.xml;h=ba4eca7f8526e783ded7eca44ecdc2585f757e5e;hp=838dce1cb4b52dd1340bdf0c12fe860cdc4a62c7;hb=e5b5ae2b4836f76d84aae25c0edf4312b761dae4;hpb=fd951f5b39fc73d6f4d97b93965ec1f3b6d9407b diff --git a/doc/sparql.xml b/doc/sparql.xml index 838dce1..ba4eca7 100644 --- 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 (path) and - HTTP access point of triplestore (uri). Each + HTTP access point of triplestore (uri). + Optionally, the schema for the database may be given with attribute + schema. + Each db element takes these elements: Configurable values: @@ -41,12 +44,11 @@ - <field/> + <form/> - Optional section for controlling what data rows are selected in the - SPARQL statement and how they are mapped to the output document, all - variables (\*) are selected when none is provided. + SPARQL Query formulation selection. SHould start with one of the + query forms: SELECT or CONSTRUCT. @@ -93,10 +95,13 @@ the field (use attribute) "bf.wtitle" is supported. - + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ - ?work ?wtitle + SELECT ?work ?wtitle ?work a bf:Work ?work bf:workTitle ?wt ?wt bf:titleValue ?wtitle