Rasqal is a C library for querying RDF, supporting the RDQL and SPARQL languages. It provides APIs for creating a query and parsing query syntax. It features pluggable triple-store source and matching interfaces, an engine for executing the queries and an API for manipulating results as bindings. 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.
| Tags | Database Database Engines/Servers |
|---|---|
| Licenses | GPL LGPL Apache 2.0 |
| Implementation | C |
Recent releases


Changes: A major API/ABI change was made, so Rasqal 0.9.16 is incompatible with earlier releases. A new rasqal_world object was added and used for all constructor functions. All deprecated functions and macros were removed. Query result sets can now be read and written from sparql XML results format. Error syntax error reporting was improved.


Changes: Many updates were made for supporting W3C SPARQL Proposed Recommendation of 12 November 2007. Substantial improvements were made to datatypes support and evaluation. Many improvements and fixes were made for low-memory situations. Several new APIs were added, including a new XSD decimal class. Many other fixes and improvements were made.


Changes: Syntax and API support was added for an experimental extension to SPARQL called LAQRS (LAQRS Adds to Querying RDF in SPARQL). The query results formatter was updated to allow better introspection of formats by MIME type. The SPARQL parser was updated for the SPARQL Working Draft 2007-03-26 additions. Several other fixes and improvements were made.


Changes: A new query results formatter class was added. Support for SPARQL GRAPH was implemented in the query engine. A new feature system was added for setting query parameters. Many reported issues were fixed and other improvements made.


Changes: Writing query results in JSON was added. Writing queries was added allowing rasqal to turn RDQL into SPARQL. SPARQL syntax support was updated to SPARQL Query Language for RDF W3C Candidate Rec of 6 April 2006. Some Win32 build fixes, other bugfixes, and many internal code re-organisations were also made.