RDF Query languages

This directory contains the implementation for standard RDF query languages: SPARQL en SeRQL.

Prolog files

jena_properties.plShow source
rdf_html.pl  -- Write query-results as HTML table.Show source
write_graph/4Write an RDF result-graph as an HTML table, where resources are links to the ClioPatria local view.Source
write_table/4Write a result-table in human-readable HTML format.Source
rdf_io.plShow source
get_triples/3Read triples according to the option data_format.Source
get_triples/4Hook to read triples into a list of rdf(S,P,O) for a given Format.Source
write_graph/2Write a graph, represented as a list of rdf(S,P,O) triples.Source
write_graph/4Hook for write_graph/2.Source
write_table/2Write a result-table in the specified format.Source
write_table/4Hook for write_table/2.Source
rdf_turtle_io.pl  -- Write query-result graphs as TurtleShow source
write_graph/4Write an RDF result-graph as an HTML table, where resources are links to the ClioPatria local view.Source
rdfql_runtime.pl  -- SPARQL/SeRQL runtime support predicatesShow source
rdfql_bind_null/1True if all elements in List unify with $null$.Source
rdfql_carthesian/1Bags is a list of independent goals.Source
rdfql_cond_bind_null/1Bind variables in List to our NULL-representation, which is $null$.Source
rdfql_triple_in/2True when Triple is an rdf(S,P,O) element in Triples that does not contain NULL.Source
rdfql_util.plShow source
entailment_module/2Find the Prolog module implementing the entailment rules for a semantic web language.Source
select_results/6Calls select_results/8 using Group=[] and Having=true.Source
select_results/9Select results for the template Result on backtracking over Goal.Source
sort_key/2Determine the sort-key from a result according to the SPARQL standard:.Source
serql.plShow source
serql_compile/3Compile a SeRQL query, returning the result in Compiled.Source
serql_query/3Where Query is either a SeRQL query text or a parsed query.Source
serql_run/2Source
serql_runtime.plShow source
serql_compare/3Handle numerical and textual comparison of literals.Source
serql_member_statement/2Get the individual triples from the original reply.Source
serql_xml_result.plShow source
xml_read_result_table/3Read an XML document from In and return the rows and variable names in there.Source
xml_to_result_table/3Convert a parsed XML document into a list of rows and a column name (variable name) term of the format names(Col1, Col2, ...).Source
sparql.plShow source
select_results/3Apply ordering and limits on result-set.Source
sparql_compile/3Performs the compilation pass of solving a SPARQL query.Source
sparql_query/3Where Query is either a SPARQL query text or a parsed query.Source
sparql_run/2Runs a compiled SPARQL query, returning the result incrementally on backtracking.Source
sparql_csv_result.pl  -- Write SPARQL results as CSVShow source
sparql_write_csv_result/3Emit results from a SPARQL SELECT query as CSV.Source
sparql_grammar.pl  -- SPARQL ParserShow source
sparql_parse/3Parse the SPARQL statement Input into a Prolog representation.Source
sparql_json_result.pl  -- Write SPARQL results as JSONShow source
sparql_write_json_result/3Emit results from a SPARQL query as JSON.Source
sparql_runtime.pl  -- SPARQL runtime supportShow source
sparql_eval/2Evaluate a SPARQL expression.Source
sparql_eval_raw/2Same as sparql_eval/2, but return the raw result.Source
sparql_find/5Implement *(PropertyPath).Source
sparql_group/1Same as call.Source
sparql_group/3Execute a group that contains non-steadfast variables, which asks for delayed unification of the output arguments.Source
sparql_minus/2Realise SPARQL MINUS.Source
sparql_reset_bnodes/0Reset the database for the BNODE(str) function.Source
sparql_service/5Execute a remote SPARQL SERVICE request.Source
sparql_simplify/2Simplify goals to the SPARQL runtime functions before they are handed to the general optimizer and runtime evaluation.Source
sparql_subquery/3Execute a SPARQL subquery.Source
sparql_true/1Generated from FILTER Term, where Term must be converted to a boolean as 'Effective Boolean Value'.Source
sparql_update/1Handle SPARQL update requests.Source
sparql_xml_result.plShow source
sparql_write_xml_result/3Write SPARQL XML result data.Source
text_properties.plShow source
functional_property/2These functional properties deal with text matching.Source

SPARQL TODO List