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
- jena.query / arq.query
- Execute a SPARQL or RDQL query.
- jena.sparql / arq.sparql
- Execute a SPARQL query.
- jena.rset / arq.rset
- Parse SPARQL Query Results XML Format or SPARQL testing results files. Print in these formats or in plain text.
- jena.qtest / arq.qtest
- Run SPARQL tests.
- jena.rdfquery
- Execute an RDQL query using the old RDQL engine (deprecated).
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>