Sparqlify platform

The Sparqlify platform integrates the following components into a unified web application:
 * The Sparqlify engine
 * The SPARQL web frontend SNORQL
 * The Linked Data publishing tool Pubby

The platform is part of the Sparqlify codebase. The remainder of this document explains how it can be built, configured and deployed.

Ubuntu
Building from source can be done with following commands:

sudo apt-get install maven
 * 1) The build process requires maven

git clone git://github.com/AKSW/Sparqlify.git cd Sparqlify mvn clean install Note: From this point on, all paths are relative to the directory into which Sparqlify has been checked out.

Running the platform stand alone
This is the easiest way of running the platform, as it does not require an application container such as Tomcat.

The platform can be launched with bin/run-platform.sh path-to-config-directory [port] [contextPath]

The following default values hold:

An example configuration directory is located at: sparqlify-platform/config/example/

The config directory must then contain further subfolders matching the contextPath. If the context path is '/', then the config directory must directly contain the following two files: platform.properties views.sparqlify

With contextPath set to '/my/path', the files must be located at: my/path/platform.properties my/path/views.sparqlify

Note that with the exception of '/', the context path must not end on '/'. Otherwise the platform will fail to start and an error indicating this problem will be logged.

The rationale for including the context in the config directory is to ease multiple deployments of Sparqlify in an application container. In such a setting it makes sense that the appropriate configuration is chosen based on the context path where a specific instance is deployed.