RDF Query languages
This directory contains the implementation for standard RDF query languages: SPARQL en SeRQL.
Prolog files
jena_properties.pl | ||
---|---|---|
rdf_html.pl -- Write query-results as HTML table. | ||
rdf_io.pl | ||
rdf_turtle_io.pl -- Write query-result graphs as Turtle | ||
rdfql_runtime.pl -- SPARQL/SeRQL runtime support predicates | ||
rdfql_util.pl | ||
serql.pl | ||
serql_compile/3 | Compile a SeRQL query, returning the result in Compiled. | |
serql_query/3 | Where Query is either a SeRQL query text or a parsed query. | |
serql_run/2 | ||
serql_runtime.pl | ||
serql_xml_result.pl | ||
sparql.pl | ||
sparql_csv_result.pl -- Write SPARQL results as CSV | ||
sparql_grammar.pl -- SPARQL Parser | ||
sparql_json_result.pl -- Write SPARQL results as JSON | ||
sparql_runtime.pl -- SPARQL runtime support | ||
sparql_xml_result.pl | ||
text_properties.pl |
SPARQL TODO List
- Complete SORT BY:
- Compare order in test-cases
- Value-specific comparison
- Compare expression results (e.g., ASC(?a+?b))
- Implement value based semantics in xsd:dateTime
- { ?x ?y 1 } cannot be mapped to
rdf(X, Y, literal(type(xsd:integer, '1')))
because it must match :a :b "01"^^xsd:integer. - Does SPARQL define a total ordering of literals? If so, we may use this for the literal AVL-tree and speedup some of these queries a lot.