Redland is a set of C libraries providing a high-level API for the Resource Description Framework (RDF), allowing it to be stored, parsed, serialized, queried, and manipulated. It has an object-based, modular design and comes with detailed reference documentation and examples. Redland supports all RDF vocabularies such as FOAF, RSS 1.0, Dublin Core, DOAP, and OWL, the query languages SPARQL and RDQL, and all RDF syntaxes including Turtle, RDF/XML, RDF/JSON, RSS, Atom, RDFa, and GRDDL.
Rasqal is a C library for querying RDF graphs, supporting the SPARQL, RDQL, and LAQRS languages. It provides APIs for creating a query and parsing query syntax. It features pluggable triple-stores and matching interfaces, query engines for executing the queries, an API for manipulating results as bindings, and multiple ways to format the results to XML, CSV, TSV, and JSON. It uses the Raptor RDF parser to return triples from RDF content, and can alternatively work with the Redland RDF library's persistent triple stores. It is portable across many POSIX systems.