RDF triples specify statements with 3 parts: subject, predicate, object.
To store triples in a file there are several alternatives:
The first is RDF/XML.
The others are text based and are easier to read and use:
N3, TURTLE (TTL) and N-TRIPLE are plain text serializations of RDF.
N3 is a superset of TTL, and TTL is a superset of N-TRIPLE.
The most basic representation is N-TRIPLE but it is very verbose.
My personal favorite is TURTLE (TTL) because it provides some very nice shorcuts while maintaining the overall simplicity. Read more about it in the guide, section 2.
Showing posts with label Jena. Show all posts
Showing posts with label Jena. Show all posts
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.
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.
Labels:
Apache,
console,
install,
Jena,
programming,
Semantic Web
Subscribe to:
Posts (Atom)