Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Using the default settings, Fuseki will 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:

Code Block
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)

    Code Block
    JAVA_OPTS="${JAVA_OPTS} -Dinfo.aduna.platform.appdata.basedir=/tmp/sesame"

Documentation

  • http://www.openrdf.org/documentation.jspapache-tomcat-7.0.42/webapps/ cat apache-tomcat-7.0.42/conf/server.xml | sed -e's/8080/${tomcat.port}/' > tmp.xml mv tmp.xml apache-tomcat-7.0.42/conf/server.xml export CATALINA_HOME = ` pwd `/apache-tomcat-7.0.42 export JAVA_OPTS = "$JAVA_OPTS -Dtomcat.port=8081" apache-tomcat-7.0.42/bin/startup.sh 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 Triple indexes [spoc,posc]: spoc,posc > quit.