Author: Franz Incorporated

Copyright (c) 2005 - 2026 Franz, Incorporated
Last updated 27 May 2026 at 10:34

# AllegroGraph and Rapper

- Documentation Index
  - Release Notes
  - Quick Start
  - SSL/TLS Quick Start
  - Introduction
  - Setup and Configuration
    - Download
    - Server Installation
    - Server Configuration and Control
    - WebView
    - Database Upgrading
    - Managing Users
  - Server Management
    - Performance Tuning
    - Deleting Duplicate Triples
    - Purging Deleted Triples
    - Auditing
    - Managing Users
    - Replication
    - Point-in-Time Recovery
    - Transaction Log Archiving
    - Security Overview
    - Security Implementation
  - Tools
    - agtool
    - Data Loading
    - Data Export
    - Backup and Restore
    - Querying
    - RDFS++
    - Materializer
    - Event Scheduler
    - SHACL
  - Details
    - Triple Indices
    - Freetext Indices
    - Encoded IDs
    - Connection Pooling
    - N-dimensional Geospatial Overview
    - 2-D Geospatial
    - Temporal
    - Social Network
    - JavaScript
    - Datatypes
    - Data Conversion (Rapper)
    - Stored Procedures
    - Triple Attributes
    - Lineparse Format
  - Querying
    - SPARQL documentation summary
    - SPARQL Reference
    - SPIN
    - SPARQL Magic Properties
    - Prolog
  - 3rd-party tools
    - Solr text Indices
    - MongoDB integration
    - TopBraid Composer Plugin
    - Cloudera
  - Client APIs
    - Gruff
    - GraphTalker
    - REST/HTTP interface
    - HTTP reference
    - Javadocs (Sesame and Jena)
    - Python API
    - Lisp Reference
    - JavaScript
  - Tutorials
    - N-dimensional Geospatial
    - SPARQL Tutorial
    - Java Sesame
    - Java Jena
    - Python Sesame
    - Lisp
    - Prolog
    - More...
  - Other
    - Conferences and Seminars
    - Source Code on Github
    - Amazon EC2
    - Copyrights
  - Franz, Inc.

- Introduction
- Example
- Usage
- Discussion

Documentation Index

## 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.)