Introduction
The Rapper RDF Parser is a command-line utility that converts RDF data from one format to another.
Example
The following example illustrates a typical user of rapper.
rapper -i rdfxml -o ntriples file.rdf > new-file.nt
This example shows rapper ingesting an RDF/XML file and producing the corresponding N-Triples file. The N-Triples file would then be loaded into AllegroGraph.
Usage
For details of Rapper formats and command-line options, see the Rapper documentation page or type rapper -h at the command line.
Discussion
We recommend pre-processing your data using Rapper in two specific situations:
When the data is in a form that AllegroGraph does not parse, such as RSS.
When there is a massive amount of RDF/XML to import. Because AllegroGraph imports the N-Triple format much more quickly than RDF/XML, it is faster to have Rapper convert the RDF/XML into the N-Triple format before importing it into AllegroGraph. (AllegroGraph can use multiple cores to import a single large N-Triple or N-Quad file. A single large Turtle file is imported by one core only. However, multiple Turtle files are imported by multiple cores. See Data Import.)