Last change
on this file since 28418 was 28418, checked in by davidb, 11 years ago |
Further development of the files that need to be installed to run as a Greenstone extension
|
File size:
825 bytes
|
Line | |
---|
1 |
|
---|
2 | ****
|
---|
3 | * Apache Jena Fuseki Server
|
---|
4 | ****
|
---|
5 |
|
---|
6 | To use this extension, the tripple-store server it provide, Fuseki,
|
---|
7 | needs to be run alongside the regular Greenstone DL server
|
---|
8 |
|
---|
9 | To start the server, type:
|
---|
10 |
|
---|
11 | fuseki-server --update -loc=$GEXT_JENA_INSTALLED/DB /ds
|
---|
12 |
|
---|
13 | ********
|
---|
14 |
|
---|
15 | ++++
|
---|
16 | + Additional notes:
|
---|
17 | ++++
|
---|
18 |
|
---|
19 | For testing purposes, the client-side provided by Fuseki have also been
|
---|
20 | installed.
|
---|
21 |
|
---|
22 | To add content (into the default graph) to the tripple-store:
|
---|
23 |
|
---|
24 | s-put http://localhost:3030/ds/data default books.ttl
|
---|
25 |
|
---|
26 | To get it back:
|
---|
27 |
|
---|
28 | s-get http://localhost:3030/ds/data default
|
---|
29 |
|
---|
30 | To query it with SPARQL using the .../query endpoint:
|
---|
31 |
|
---|
32 | s-query --service http://localhost:3030/ds/query 'SELECT * {?s ?p ?o}'
|
---|
33 |
|
---|
34 | To update it with SPARQL using the .../update endpoint:
|
---|
35 |
|
---|
36 | s-update --service http://localhost:3030/ds/update 'CLEAR DEFAULT'
|
---|
37 |
|
---|
38 | ****
|
---|
Note:
See
TracBrowser
for help on using the repository browser.