Fuseki

Fuseki is very easy to setup

  1. Download latest jena-fuseki distribution tarball from http://www.apache.org/dist/jena/binaries/
  2. Unpack the download archive 
  3. 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).

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:

$ curl -L -O https://dist.apache.org/repos/dist/release/tomcat/tomcat-7/v7.0.42/bin/apache-tomcat-7.0.42.tar.gz
$ tar xvfz apache-tomcat-7.0.42.tar.gz
$ 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 apache-tomcat-7.0.42/webapps/
$ apache-tomcat-7.0.42/bin/startup.sh

Sesame should now be running at: http://localhost:8081/openrdf-sesame/system/overview.view

$ openrdf-sesame-2.7.5/bin/console.sh
> connect http://localhost:8081/openrdf-sesame.
> create native.
Repository ID [native]: test
Repository title [Native store]: test store
Triple indexes [spoc,posc]: spoc,posc
Repository created
> exit.
Disconnecting from http://localhost:8081/openrdf-sesame/

Notes

Documentation