Changeset 28418
- Timestamp:
- 2013-10-14T15:41:04+13:00 (10 years ago)
- Location:
- gs2-extensions/apache-jena/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/apache-jena/trunk/src/NOTES.txt
r28407 r28418 1 1 2 **** 3 * Apache Jena Fuseki Server 4 **** 2 5 6 To use this extension, the tripple-store server it provide, Fuseki, 7 needs to be run alongside the regular Greenstone DL server 3 8 4 T his extension requires an additional server to be run, along side the main Greenstone3 server9 To start the server, type: 5 10 11 fuseki-server --update -loc=$GEXT_JENA_INSTALLED/DB /ds 6 12 7 .... 13 ******** 8 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 **** -
gs2-extensions/apache-jena/trunk/src/packages/CASCADE-MAKE/FUSEKI.sh
r28411 r28418 30 30 pushd "$package$version" 31 31 32 /bin/cp s-* $GEXT_JENA_INSTALLED/bin/script/. 33 chmod a+rx $GEXT_JENA_INSTALLED/bin/script/s-* 34 32 echo "====" 33 echo "= Installing Fuseki" 34 echo "====" 35 echo "= Installing server-side scripts" 35 36 /bin/cp fuseki-server $GEXT_JENA_INSTALLED/bin/script/. 36 37 chmod a+rx $GEXT_JENA_INSTALLED/bin/script/fuseki-server … … 44 45 chmod a+r $GEXT_JENA_INSTALLED/fuseki-server.jar 45 46 47 echo "= Installing client-side scripts" 48 /bin/cp s-* $GEXT_JENA_INSTALLED/bin/script/. 49 chmod a+rx $GEXT_JENA_INSTALLED/bin/script/s-* 50 51 52 echo "= Installing configuration files" 46 53 /bin/cp config.ttl $GEXT_JENA_INSTALLED/. 47 54 chmod a+r $GEXT_JENA_INSTALLED/config.ttl 55 56 /bin/cp -r pages $GEXT_JENA_INSTALLED/. 57 chmod -R a+r $GEXT_JENA_INSTALLED/pages 58 59 echo "====" 60 echo "" 48 61 49 62 popd
Note:
See TracChangeset
for help on using the changeset viewer.