source: gs2-extensions/apache-jena/trunk/src/NOTES-ADDITIONAL.txt@ 28686

Last change on this file since 28686 was 28455, checked in by davidb, 11 years ago

Updated text

  • Property svn:executable set to *
File size: 938 bytes
Line 
1
2++++
3+ Additional notes:
4++++
5
6
7For the underlying Fuseki server, an example invokation of it is:
8
9 fuseki-server --update -loc=DB /ds
10
11assuming a directory 'DB' exists in the current working directory
12
13For Greenstone the TDB location is:
14
15 'etc/tdb-triple-store'
16
17and the dataset pathname (equates to URL prefix) is set as:
18
19 /greenstone
20
21
22++++
23++++
24
25For testing purposes, the client-side provided by Fuseki have also been
26installed.
27
28To add content (into the default graph) to the tripple-store:
29
30 s-put http://localhost:3030/ds/data default books.ttl
31
32To get it back:
33
34 s-get http://localhost:3030/ds/data default
35
36To query it with SPARQL using the .../query endpoint:
37
38 s-query --service http://localhost:3030/ds/query 'SELECT * {?s ?p ?o}'
39
40To update it with SPARQL using the .../update endpoint:
41
42 s-update --service http://localhost:3030/ds/update 'CLEAR DEFAULT'
43
44
45++++++++
46
Note: See TracBrowser for help on using the repository browser.