2012-12-28

How to install Jena command line tools?

Apache Jena is an open-source library for building Semantic Web applications using the Java programming language.
At the core of the library is a RDF implementation.
The SPARQL query language can be used to query RDF models.

The distribution includes a set of command line tools that can be very useful.
To install them, follow the next steps:

1. Download Jena binaries from http://www.apache.org/dist/jena/

2. Unzip file to an installation folder

3. Define the environment variable JENAROOT

4. Add %JENAROOT%\bat to the PATH environment variable

At the present moment, the following tools are available:

qtest
query
rdfcat
rdfcompare
rdfcopy
rdfparse
rset
RuleMap
schemagen
sparql
turtle
version

Consult the javadoc (jena package) for more details.

1 comment:

Joana P Pardal said...

Note that on *nix based OS (Mac and Linux, ...) the path should point to 'bin' instead of 'bat'.