Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" lang="en" xml:lang="en">
  <title>Redland librdf RDF API Library</title>
  <link rel="meta" type="application/rdf+xml" title="DOAP" href="redland.rdf" />

<h1>Redland librdf RDF API Library</h1>
<h2><a href="">Dave Beckett</a></h2>


<p><a href="">Redland librdf</a> is a
library that provides a high-level interface for
the Resource Description Framework (RDF) allowing the RDF
graph to be parsed from XML, stored, queried and manipulated.
Redland librdf implements each of the RDF concepts in its own class via an
object based API, reflected into the language APIs, currently C#, Java,
Perl, PHP, Python, Ruby and Tcl.  Several classes providing functionality
such as for parsers, storage are built as modules that can be loaded
at compile or run-time as required.</p>

<p>This is a mature and stable RDF library developed since 2000
used in multiple projects.  See the 
<a href="FAQS.html">FAQS</a> for general information
and the <a href="">Redland issue tracker</a>
for known bugs and issues.  A summary
of the changes can be found in the <a href="NEWS.html">NEWS</a> file,
detailed API changes in the <a href="RELEASE.html">release notes</a>
and file-by-file changes in the Subversion <a href="ChangeLog">ChangeLog</a>.</p>

<p>Redland librdf provides:</p>
<li>A modular, <a href="docs/api/objects.html">object based</a> library written in C</li>
<li>APIs for manipulating the RDF <a href="docs/api/model.html">graph</a> and parts - <a href="docs/api/statement.html">Statements</a>, <a href="docs/api/node.html">Resources and Literals</a></li>
<li>Language Bindings in Perl, PHP, Python and Ruby via the <a href="">Redland Bindings</a> package.</li>
<li>Reading and writing multiple RDF syntaxes with <a href="docs/api/parser.html">Parsers</a> and <a href="docs/api/serializer.html">Serializers</a> via the <a href="">Raptor RDF Parser Toolkit</a>.</li>
<li><a href="docs/api/storage.html">Storage</a> for graphs in memory and persistently with Sleepycat/Berkeley DB, MySQL 3-5, PostgreSQL, SQLite, Openlink Virtuoso, in-memory Trees, files or URIs.</li>
<li><a href="docs/api/query.html">Query language</a> support for SPARQL 1.0 (some 1.1) and RDQL using <a href="">Rasqal</a>.</li>
<li>APIs for accessing the graph by Statement (triples) or by Nodes and Arcs</li>
<li>Contexts for managing aggregating named graphs and recording provenance.</li>
<li><a href="docs/api/stream.html">Statement Streams</a> for efficient construction, parsing and serialisation of graphs</li>
<li><a href="utils/rdfproc.html">rdfproc</a> RDF processor utility program</li>
<li>No memory leaks.</li>


<p>The packaged sources are available from
<a href=""></a>.
The development GIT sources can also be
<a href="">browsed on GitHub</a>
or checked out at git://

<p>librdf requires
<a href="">Raptor</a> 2.0.7 or newer
<a href="">Rasqal</a> 0.9.26 or newer
to build and run, which can be downloaded from the same area
as the librdf source and binaries.</p>


<p>This library is free software / open source software released
under the LGPL 2.1 (GPL) or Apache 2.0 licenses.  See 
<a href="LICENSE.html">LICENSE.html</a> for full details.</p>

<h2>Installation and Documentation</h2>

<p>See <a href="INSTALL.html">INSTALL.html</a> for general
installation and configuration information.</p>

<p>Further documentation is available in the
<a href="docs/README.html">documents area</a> including the
<a href="docs/api/index.html">API reference document</a> and
<a href="docs/storage.html">detailed storage modules information</a>.

<h2>Mailing Lists</h2>

<a href="">Redland mailing lists</a>
discuss the development and use of the Redland libraries as well as
future plans and announcement of releases.</p>

<hr />

<p>Copyright (C) 2000-2013 <a href="">Dave Beckett</a><br />Copyright (C) 2000-2005 <a href="">University of Bristol</a></p>