Skip to content
Bresicode edited this page Jan 18, 2021 · 13 revisions

Produce RDF file for Fuseki GeoSPARQL server.

java -classpath <your-jdbc-driver.jar> -jar OHDMConverter.jar -r rendering_parameter -f <filename.ttl>

This command will produce a RDF turtle file with your chosen filename. This file can than be used in the fuseki geosparql server.

Setting up the Fuseki GeoSPARQL Server with your RDF turtle file

  1. Download the Fuseki Geosparql Server https://github.com/apache/jena/tree/master/jena-fuseki2/jena-fuseki-geosparql
  2. Move your rdf.ttl into the /jena-fuseki-geosparql directory
  3. run java -jar jena-fuseki-geosparql-VER.jar -rf <filename.ttl>

This will start your server with the default settings, you can add more arguments for further customization. Values you probably want to change are port(default: 3030), dataset name(default: ds) and loopback only(default true). For that refer to the official Fuseki GeoSPARQL documentation https://jena.apache.org/documentation/geosparql/geosparql-fuseki

To update your dataset you will have to restart the server with a new rdf.ttl file following steps 2) and 3)