Versions Compared

Key

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

...

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

...

view

Before you can load data or perform queries, you must create a repository.  You can do this using OpenRDF Workbench, a companion webapp to Sesame which provides the ability to manage repositories, perform SPARQL queries, etc.  To deploy this webapp, copy the OpenRDF Workbench WAR file to the Tomcat webapps directory:

Code Block
languagebash
cp openrdf-sesame-2.7.5/war/openrdf-workbench.war apache-tomcat-7.0.42/webapps/

Then you can create a new repository at http://localhost:8081/openrdf-workbench/repositories/NONE/create, and query the test repository at http://localhost:8081/openrdf-workbench/repositories/test/query.

Alternatively, you can use the Sesame console application to create a repository from the command line:

Code Block
languagebash
$ 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

  • You may need to set the Sesame data directory in your Tomcat7 configuration (e.g. /etc/default/tomcat7)

 

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

 

Documentation