X-Git-Url: http://git.indexdata.com/?p=mp-sparql-moved-to-github.git;a=blobdiff_plain;f=doc%2Fbook.xml;h=5826b16f2ea75f883a9ccd1841937e2291e037a0;hp=852994c4c508bf2466d8f603b7744f06479c9f22;hb=ab121ed083cfa1b57dd76d30da92bbebe656f226;hpb=a1f5a7f7710fb99083c7c2ca4b0d6294c8a5f67f diff --git a/doc/book.xml b/doc/book.xml index 852994c..5826b16 100644 --- a/doc/book.xml +++ b/doc/book.xml @@ -138,7 +138,7 @@ - + Configuration If you have installed mp-sparql as a package or have executed @@ -186,7 +186,7 @@ cp /usr/share/mp-sparql/bibframe/filter-sparql.xml /etc/metaproxy/filters-available cp /usr/share/mp-sparql/bibframe/triplestore.xml /etc/metaproxy - sudo vi /etc/metaproxy/triplestore.xml + vi /etc/metaproxy/triplestore.xml ln -s ../filters-available/filter-sparql.xml /etc/metaproxy/filters-enabled service metaproxy restart @@ -216,6 +216,50 @@ + + Using the service + + Either way, unless you have adjusted the metaproxy configuration, + Metaproxy can be reached on port 9000. Example using yaz-client and + PQF/Type-1: + f @attr 1=bf.anytitle water +Sent searchRequest. +Received SearchResponse. +Search was a success. +Number of hits: 1, setno 1 +records returned: 0 +Elapsed: 0.279441 +Z> s +Sent presentRequest (1+1). +Records: 1 +[work]Record type: XML + + + + ... + +nextResultSetPosition = 0 +Elapsed: 0.256142 +]]> + + + Example using SRU: + + + Reference @@ -253,7 +297,7 @@ along with Metaproxy; see the file LICENSE. If not, write to the Free Software Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - +