Jena provides a number of utilities that wrap up access to some commonly used functionality.
These command utilities print a usage message with
the -h
flag.
RDF processing utilities
- jena.rdfparse
- Call ARP
- jena.rdfcat
- Copy and merge models
- jena.rdfcopy
- Copy a model, changing its syntax
- jena.rdfcompare
- Test whether two models are isomorphic
- jena.n3
- A tool to access the N3 parser directly.
Ontology utilities
Database utilities
- jena.dbcreate
- Create a Jena model in a database.
- jena.dblist
- List all models in a databse.
- jena.dbload
- Load a file of data into a database.
- jena.dbdump
- Dump a database
- jena.dbremove
- Remove a Jena model and all its data from a database. Use with care.
Query Utilities
Scripts to run these commands, in the bin/ and bat/ directories,
require the environment variable ARQROOT
to be set to
the root directory of a Jena or ARQ installation.
- arq.query
- Execute a SPARQL query.
- arq.sparql
- Execute a SPARQL query.
- arq.rset
- Parse SPARQL Query Results XML Format or SPARQL testing results files. Print in these formats or in plain text.
- arq.qtest
- Run SPARQL tests.
Remote Access
These programs can be set use use a proxy to traverse a firewall by setting system properties. To use a socks proxy include the following in the command line:
-DsocksProxyHost=<your-proxy-domain-name-or-ip-address>
To use an http proxy include the following on the command line:
-DproxySet=true -DproxyHost=<your-proxy> -DproxyPort=<your-proxy-port-number>