LinuxCommandLibrary

redland

RDF data storage and processing libraries

TLDR

Parse RDF file

$ rapper -i rdfxml -o ntriples [file.rdf]
copy
Query RDF store
$ roqet -i sparql "[query]" [data.rdf]
copy
Process RDF
$ rdfproc [store] parse [file.rdf]
copy

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

$ # Parse RDF/XML to N-Triples
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 }"
copy

UTILITIES

rapper

RDF parser utility.
roqet
RDF query utility.
rdfproc
RDF processing utility.

FORMATS

$ rdfxml   - RDF/XML
ntriples - N-Triples
turtle   - Turtle
nquads   - N-Quads
trig     - TriG
copy

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.

SEE ALSO

rapper(1), roqet(1), rdfproc(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community