Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Redland Raptor RDF syntax library
C Groff HTML CMake Makefile Bison Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
  <title>Raptor RDF Parser Toolkit</title>
<body bgcolor="#ffffff" text="#000085">

<h1 style="text-align:center">Raptor RDF Parser Toolkit</h1>
<h2 style="text-align:center"><a href="">Dave Beckett</a><br /><a href="">Institute for Learning and Research Technology</a><br /><a href="">University of Bristol</a></h2>


<p><a href="">Raptor</a>
is a free software/Open Source C library that parses RDF syntaxes
such as RDF/XML and N-Triples into RDF triples.</p>

was designed to work closely with the
<a href="">Redland RDF library</a>
(<b>R</b>DF <b>P</b>arser <b>T</b>oolkit f<b>o</b>r <b>R</b>edland)
but is entirely separate.  It is a portable library that works
across many POSIX systems (Unix, GNU/Linux, BSDs, OSX, cygwin,
win32).  Raptor has no memory leaks and is fast.

<p>This is a mature and stable library.  See
the <a href="TODO.html">to do list</a> for more information.  Changes
can be found in the <a href="NEWS.html">NEWS</a> file or more
detailed changes in the <a href="ChangeLog">ChangeLog</a>.</p>


<h3>RDF/XML Parser</h3>

<p>A Parser for the
<a href="">RDF/XML syntax</a>
as revised by the
<a href="">W3C RDF Core working group</a>.</p>

<li>Designed to integrate well with <a href="">Redland</a></li>
<li>Fully handles the <a href="">RDF/XML syntax updates</a> for <a href="">XML Base</a>, <code>xml:lang</code>, RDF datatyping and Collections.</li>
<li>Handles all RDF vocabularies such as <a href="">FOAF</a>, <a href="">RSS 1.0</a>, <a href="">Dublin Core</a>, <a href="">OWL</a></li>
<li>Parses and generates <a href="">N-Triples</a> supporting XML literals, language tagging and datatypes</li>
<li>Parses content on the web if <a href="">libcurl</a>, <a href="">libxml2</a> or BSD libfetch is available.</li>
<li>Handles <code>rdf:resource</code> / <code>resource</code> attributes</li>
<li>Uses <a href="">expat</a> and/or (GNOME) <a href="">libxml</a> XML parsers as available or required</li>
<li>Optional features can be selected at run time.</li>
<li>(Perl, Python, Java, Tcl, Ruby, PHP interfaces when used via Redland)</li>
<li>No memory leaks</li>
<li><a href="rapper.html">rapper</a> RDF parser utility program</li>

<p>The remaining issues are recorded in the
<a href="TODO.html">to do list</a>.</p>

<h3>N-Triples Parser</h3>

<p>A parser for the
<a href="">N-Triples</a>
syntax as used by the 
<a href="">W3C RDF Core working group</a>
for the <a href="">RDF Test Cases</a>.

<h3>Turtle Parser</h3>

<p>A parser for the
<a href="">Turtle Terse RDF Triple Language</a>
syntax, designed as a useful subset of
<a href="">Notation 3</a>.

<h3>RSS "tag soup" parser</h3>

<p>An experimental parser for the multiple XML RSS formats that use
the elements such as channel, item, title, description in different
ways.  Turns the input where possible into
<a href="">RSS 1.0</a>
RDF triples.  <a href="">RSS 1.0</a>
as a full RDF vocabulary, is parsed by the RDF/XML parser.


<p>The public API is described in the
<a href="libraptor.html">libraptor.3</a> UNIX manual page.
It is demonstrated in the
<a href="rapper.html">rapper</a>
utility program which shows how to call the parser and get back the
triples.  When Raptor is used inside
<a href="">Redland</a>,
the Redland documentation explains
how to call the parser and contains several example programs.
There are also further examples in the <tt>example</tt> directory
of the distribution.</p>

<p>To install Raptor see the <a href="INSTALL.html">Installation document</a>.


<p>The packaged sources are available from
<a href=""></a> (master site) and also from the
<a href="">SourceForge site</a>.
There are 
<a href="">nightly snapshots</a> of the development version which is can also be browsed via
<a href="">CVSweb</a>.


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

<h2>Mailing Lists</h2>

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

<hr />

<p>Copyright 2000-2004 <a href="">Dave Beckett</a>, <a href="">Institute for Learning and Research Technology</a>, <a href="">University of Bristol</a></p>

Something went wrong with that request. Please try again.