Name Last modified Size Description
Parent Directory - AUTHORS 30-Sep-2007 01:40 94 COPYING 15-Jun-2006 22:01 18K COPYING.LIB 16-Jun-2005 16:32 26K ChangeLog 30-Jan-2010 17:19 147K LICENSE-2.0.txt 08-Jan-2006 07:38 11K LICENSE.html 30-Jan-2010 06:48 3.4K LICENSE.txt 30-Jan-2010 06:56 2.7K NEWS 30-Jan-2010 06:56 20K NEWS.html 30-Jan-2010 06:48 30K NOTICE 08-Jan-2006 07:38 180 RELEASE.html 30-Jan-2010 06:48 103K
Raptor is a free software / Open Source C library that provides a set of parsers and serializers that generate Resource Description Framework (RDF) triples by parsing syntaxes or serialize the triples into a syntax. The supported parsing syntaxes are RDF/XML, N-Triples, TRiG, Turtle, RSS tag soup including all versions of RSS, Atom 1.0 and 0.3, GRDDL and microformats for HTML, XHTML and XML and RDFa. The serializing syntaxes are RDF/XML (regular, and abbreviated), Atom 1.0, GraphViz, JSON, N-Triples, RSS 1.0 and XMP.
Raptor was designed to work closely with the Redland RDF library (RDF Parser Toolkit for Redland) 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.
This is a mature and stable library. A summary of the changes can be found in the NEWS file, detailed API changes in the release notes and file-by-file changes in the ChangeLog.
Known bugs and issues are recorded in the Redland issue tracker.
A Parser for the standard RDF/XML syntax.
xml:lang, RDF datatyping and Collections.
A parser for the N-Triples syntax as defined by the W3C RDF Core working group for the RDF Test Cases.
A parser for the Turtle Terse RDF Triple Language syntax, designed as a useful subset of Notation 3.
A parser for the TriG - Turtle with Named Graphs syntax.
The parser is alpha quality and may not support the entire TRiG specification.
A parser for the multiple XML RSS formats that use the elements such as channel, item, title, description in different ways. Attempts to turn the input into RSS 1.0 RDF triples. True RSS 1.0, as a full RDF vocabulary, is best parsed by the RDF/XML parser. It also generates triples for RSS enclosures.
This parser also provides support for the Atom 1.0 syndication format defined in IETF RFC 4287
A parser/processor for Gleaning Resource Descriptions from Dialects of Languages (GRDDL) syntax, W3C Recommendation of 2007-09-11 which allows reading XHTML and XML as RDF triples by using profiles in the document that declare XSLT transforms from the XHTML or XML content into RDF/XML or other RDF syntax which can then be parsed. It uses either an XML or a lax HTML parser to allow HTML tag soup to be read.
The parser passes the all the GRDDL tests as of Raptor 1.4.16.
The parser also handles hCard and hReview using public XSL sheets.
A parser for RDFa (W3C Candidate Recommendation 20 June 2008) implemented via librdfa linked inside Raptor, written by Manu Sporny of Digital Bazaar, licensed with the same license as Raptor.
As of Raptor 1.4.18 the RDFa parser passes all of the RDFa test suite except for 4 tests.
A serializer to the standard RDF/XML syntax as revised by the W3C RDF Core working group in 2004. This writes a plain triple-based RDF/XML serialization with no optimisation or pretty-printing.
A second serializer is provided using several of the RDF/XML abbreviations to provide a more compact readable format, at the cost of some pre-processing. This is suitable for small documents.
A serializer to the N-Triples syntax as used by the W3C RDF Core working group for the RDF Test Cases.
A serializer to the Atom 1.0 syndication format defined in IETF RFC 4287. Beta quality.
Two serializers for to write triples encoded in JSON, one
json) in a resource-centric abbreviated form RDF/JSON
like Turtle or RDF/XML-Abbreviated; the other a triple-centric format
json-triples) based on the SPARQL results in JSON
format. Beta quality.
An serializer to the GraphViz DOT format which aids visualising RDF graphs.
A serializer to the RDF Site Summary (RSS) 1.0 format.
A serializer for the Turtle Terse RDF Triple Language syntax.
An alpha quality serializer to the Adobe XMP profile of RDF/XML suitable for embedding inside an external document.
The public API is described in the libraptor.3 UNIX manual page. It is demonstrated in the rapper utility program which shows how to call the parser and write the triples in a serialization. When Raptor is used inside Redland, the Redland documentation explains how to call the parser and contains several example programs. There are also further examples in the example directory of the distribution.
To install Raptor see the Installation document.
The packaged sources are available from http://download.librdf.org/source/ (master site) and also from the SourceForge site. The development Subversion sources can also be browsed with ViewCV.
This library is free software / open source software released under the LGPL (GPL) or Apache 2.0 licenses. See LICENSE.html for full details.
The Redland mailing lists discusses the development and use of Raptor and Redland as well as future plans and announcement of releases.
Copyright (C) 2000-2010 Dave Beckett
Copyright (C) 2000-2005 University of Bristol