Excerpt | ||
---|---|---|
| ||
Instructions for how to setup the triplestores currently supported by the JMS indexer: Fuseki and Sesame. Other triplestores that support SPARQL Update may also work, but have not been tested. |
...
Anchor | ||||
---|---|---|---|---|
|
Fuseki
Fuseki is very easy to setup
...
Code Block |
---|
curl -O http://www.apache.org/dist/jena/binaries/jena-fuseki-1.0.01-distribution.tar.gz tar xvfz jena-fuseki-1.0.01-distribution.tar.gz cd jena-fuseki-1.0.01 ./fuseki-server --update --mem /test |
Fuseki should be running at http://localhost:3030/
If you want to change the port on which Fuseki runs, you can add the "–port" option to the run command (e.g. ./fuseki-server --port 3131 --update --mem /test).
To access the SPARQL query form, go to http://localhost:3030/control-panel.tpl and select your datasource (in this case /test).
...
- Download Tomcat from http://tomcat.apache.org/download-70.cgi and unpack the downloadd downloaded archive.
Code Block | ||
---|---|---|
| ||
$ 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 |
...
- You may need to set the Sesame data directory in your Tomcat7 configuration (e.g. /etc/default/tomcat7
...
- )
Code Block | ||
---|---|---|
| ||
JAVA_OPTS="${JAVA_OPTS} -Dinfo.aduna.platform.appdata.basedir=/tmp/sesame" |
...