PublicShow sourcesparql_grammar.pl -- SPARQL Parser

See also
- SPARQL 1.1 specification
- SPARQL test cases at http://www.w3.org/2009/sparql/docs/tests/
Source sparql_parse(+SPARQL, -Query, +Options)
Parse the SPARQL statement Input into a Prolog representation. Based on "SPARQL Query Language for RDF", April 6, 2006. Options supported:
base_uri(+Base)
Base used if there is no BASE clause in the query.
variable_names(+VarDict)
Prolog Name=Var list to use as initial binding list. This option is used to support SPARQL Quasi Quotations.