Fuseki
Fuseki is very easy to setup
- Download latest jena-fuseki distribution tarball from http://www.apache.org/dist/jena/binaries/
- Unpack the download archive
- Start fuseki-server
curl -O http://www.apache.org/dist/jena/binaries/jena-fuseki-1.0.0-distribution.tar.gz tar xvfz jena-fuseki-1.0.0-distribution.tar.gz cd jena-fuseki-1.0.0 ./fuseki-server --update --mem /test
Fuseki should be running at http://localhost:3030/
To access the SPARQL query form, go to http://localhost:3030/control-panel.tpl and select your datasource (in this case /test).
- This allows you to perform SPARQL queries or updates, or upload an RDF file to replace the contents of the triplestore.
Sesame
Sesame requires a little more setup to run with the tests, since by default it uses the same port as Fedora. To setup Sesame with Tomcat running on an alternate port:
- Download Sesame from http://sourceforge.net/projects/sesame/files/Sesame%202/
- Unpack Sesame and move the Sesame WAR file into the Tomcat webapps directory
- Use the Sesame console to create a repository
curl -L -O http://sourceforge.net/projects/sesame/files/Sesame%202/2.7.7/openrdf-sesame-2.7.7-sdk.tar.gz tar xvfz openrdf-sesame-2.7.7-sdk.tar.gz cp openrdf-sesame-2.7.7/war/openrdf-sesame.war <tomcat/webapps/directory>
Sesame should be running at: http://localhost:8080/openrdf-sesame/home/overview.view
Notes
You may need to set the Sesame data directory in you Tomcat7 configuration (e.g. /etc/default/tomcat7)
JAVA_OPTS="${JAVA_OPTS} -Dinfo.aduna.platform.appdata.basedir=/tmp/sesame"