redland
RDF data storage and processing libraries
TLDR
Parse RDF file
SYNOPSIS
Redland RDF Libraries and utilities
DESCRIPTION
Redland is a set of C libraries and command-line utilities for working with RDF (Resource Description Framework) data. It provides comprehensive support for parsing, storing, querying via SPARQL, and serializing RDF across multiple formats including RDF/XML, Turtle, N-Triples, and N-Quads.
The toolkit includes rapper for format conversion and validation, roqet for executing SPARQL queries, and rdfproc for managing persistent RDF stores. These tools can be combined in pipelines for batch processing of semantic web data.
EXAMPLES
rapper -i rdfxml -o ntriples data.rdf
# Validate RDF
rapper -c data.rdf
# SPARQL query
roqet -i sparql "SELECT * WHERE { ?s ?p ?o } LIMIT 10" data.rdf
# Convert formats
rapper -i turtle -o rdfxml data.ttl > data.rdf
# Create and query store
rdfproc mystore parse data.rdf
rdfproc mystore query sparql - "SELECT * WHERE { ?s ?p ?o }"
UTILITIES
rapper
RDF parser utility.roqet
RDF query utility.rdfproc
RDF processing utility.
FORMATS
ntriples - N-Triples
turtle - Turtle
nquads - N-Quads
trig - TriG
CAVEATS
Library-based (librdf). Multiple tools for different tasks. SPARQL 1.0 support.
HISTORY
Redland was created by Dave Beckett starting in 2000 as a comprehensive RDF library suite.
