ClioPatria supports two query languages: SPARQL and [[SeRQL][http://www.openrdf.org]. For both languages we provide an interactive service that presents the results as a human-readable HTML table and an API that presents its result as RDF/XML or XML according to the HTTP protocol definition for the query language.
For both SPARQL and SeRQL, queries are translated to a complex Prolog
goal calling rdf/3 to resolve edges in the graph and calls to predicates
from rdfql/rdfql_runtime.pl that realise constraints imposed by the
WHERE clause and SPARQL
SPARQL support is based on the SPARQL specification, versioned April 6, 2006. Status:
SeRQL support and compatibility is based on development version 20040820, with additional support for the new 1.2 syntax and some of the built-in functions. Both SeRQL and the HTTP API are fully defined in the Sesame documentation.