Multidimensional Analytics for RDF Data
SPARQLytics uses Apache Maven as a build system. It will take care of downloading the dependencies, so make sure you have an internet connection when building for the first time. Start the build process by issuing the following command in the project directory:
mvn install
The build process produces the standalone artifact
sparqlytics-<verion>-dist.jar
, which contains the SPARQLytics code together
with all dependencies. You can run it with the following command:
java -jar sparqlytics-<version>-dist.jar [<options>]
SPARQLytics supports to operation modes:
- Interactive: waits for the user to input commands in the console and
- Batch: processes commands from a file.
The following optional command line arguments can be specified to steer the behavior of SPARQLytics:
-debug
: prints the generated SPARQL queries to the console,-input
: reads commands from the specified file,-output
: writes results to the specified file or directory, and-outputFormat
: designates the result format.
If an output directory is specified, each measure computation will cause a separate result file to be created in that directory. The date and time of the request will be used as file name. SPARQLytics supports RDF/XML, Turtle, and N3 as output formats.