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.
| Tags | Software Development Libraries Text Processing Markup XML |
|---|---|
| Licenses | GPL LGPL Apache 2.0 |
| Operating Systems | OS Independent |
| Implementation | C |
Recent releases


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.


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.


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.


Release Notes: The N-Quads serializer was fixed to output the graph name correctly, and the internal RDFa parser built with librdfa was updated to prefix its symbols so it can now be linked with the standard librdfa.


Release Notes: This is stable, supported release includes some minor API changes over the last beta and a fix for one issue.