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 |
|
---|
7 | For the underlying Fuseki server, an example invokation of it is:
|
---|
8 |
|
---|
9 | fuseki-server --update -loc=DB /ds
|
---|
10 |
|
---|
11 | assuming a directory 'DB' exists in the current working directory
|
---|
12 |
|
---|
13 | For Greenstone the TDB location is:
|
---|
14 |
|
---|
15 | 'etc/tdb-triple-store'
|
---|
16 |
|
---|
17 | and the dataset pathname (equates to URL prefix) is set as:
|
---|
18 |
|
---|
19 | /greenstone
|
---|
20 |
|
---|
21 |
|
---|
22 | ++++
|
---|
23 | ++++
|
---|
24 |
|
---|
25 | For testing purposes, the client-side provided by Fuseki have also been
|
---|
26 | installed.
|
---|
27 |
|
---|
28 | To add content (into the default graph) to the tripple-store:
|
---|
29 |
|
---|
30 | s-put http://localhost:3030/ds/data default books.ttl
|
---|
31 |
|
---|
32 | To get it back:
|
---|
33 |
|
---|
34 | s-get http://localhost:3030/ds/data default
|
---|
35 |
|
---|
36 | To query it with SPARQL using the .../query endpoint:
|
---|
37 |
|
---|
38 | s-query --service http://localhost:3030/ds/query 'SELECT * {?s ?p ?o}'
|
---|
39 |
|
---|
40 | To 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.