Projects / Raptor RDF Syntax Library

Raptor RDF Syntax Library

Raptor is a C library providing a set of parsers and serializers for Resource Description Framework (RDF) triples by parsing syntaxes into RDF triples and serializing triples into a syntax. The parsers support RDF/XML, N-Triples, GRDDL, and Turtle, and via RSS tag soup: XML RSS, Atom 0.3, and Atom 1.0. The serializers support RDF/XML (3 flavours), Turtle, DOT, N-Triples, RSS 1.0, and Atom 1.0. Raptor handles RDF/XML as used by RDF applications such as RSS 1.0, FOAF, DOAP, Dublin Core, and OWL. It can use either expat or libxml2 for XML parsing, libcurl when available for URI retrieval, and is portable to many POSIX systems.

Operating Systems

Recent releases

  •  30 Jun 2012 18:56

    Release Notes: This release supports RDFa 1.1 via an updated embedded librdfa library, adds multiple portability fixes for Windows and Solarises, and adds multiple minor fixes and improvements.

    •  23 Mar 2012 05:31

      Release Notes: This release fixes CVE-2012-0037, removes Expat support, adds internal Unicode NFC code for better and optional ICU, and includes options for denying file requests, XML entity loading, and managing SSL certificate verification.

      •  04 Dec 2011 03:36

        Release Notes: Expat support was fixed after being broken in 2.0.5. Support for libCurl before 7.16.4 (2007) was added for SSL options. A few new sequence utility methods for sort, reverse, and permute were added.

        •  15 Nov 2011 02:04

          Release Notes: All parsers and serializers were updated to use the W3C Format URIs as their primary URI (the old ones are aliases). The N-Quads parser was fixed to handle an optional context/graph URI so it can read all N-Triples too. The Turtle serializer now uses the official text/turtle MIME type. Some additional UTF-8 and snprintf utility functions were added. The llbrary no longer needs math functions trunc, lround, and round (or linking with libm). Several internal code style fixes and cleanups were made.

          •  02 Jun 2011 04:12

            Release Notes: A raptor2.h header file was added to help avoid conflicts when raptor V1 is also present. Improvements were made to the Turtle / TRiG parser for parsing larger documents. Several other fixes were made.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.