Redland Rasqal RDF Query Demonstration

by Dave Beckett

RDF Resource Description Framework Powered

This is a demonstration of using Rasqal to perform queries in either of the RDQL or SPARQL languages over RDF data. The data is loaded into a Redland model and then queried and results accessed via the Redland Perl language binding.

Firstly choose whether to query in RDQL or SPARQL, then enter a URI of some RDF content to query and run it. The example query is for FOAF and finds the names of all the people in the graph. There are other example queries further down the page.

Some RDF content you can use could be my FOAF file at: http://www.dajobe.org/foaf.rdf
or the W3C's RSS 1.0 file at: http://www.w3.org/2000/08/w3c-synd/home.rss

RDF content URIs

Query

in query language: RDQLSPARQL  XML result  JSON result

See example queries at the Rasqal Query Demonstration home


Results

SPARQL query execution failed with errors:
5:syntax error, unexpected '(', expecting '{'

The source code of this demonstration is available in the Redland bindings distribution as demos/query.pl or from the Redland website


Made with Redland 1.0.7, Rasqal 0.9.15 and Raptor 1.4.18