• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
    • RDF quality heuristics
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/opt/ClioPatria/rdfql/sparql.pl
AllApplicationManualNameSummaryHelp

  • ClioPatria
    • rdfql
      • serql.pl
      • rdfql_util.pl
      • sparql_runtime.pl -- SPARQL runtime support
      • rdfql_runtime.pl -- SPARQL/SeRQL runtime support predicates
      • serql_runtime.pl
      • sparql.pl
        • sparql_query/3
        • sparql_compile/3
        • sparql_run/2
      • sparql_grammar.pl -- SPARQL Parser
      • jena_properties.pl
      • text_properties.pl
      • rdf_io.pl
      • rdf_html.pl -- Write query-results as HTML table.
      • sparql_xml_result.pl
      • sparql_json_result.pl -- Write SPARQL results as JSON
      • sparql_csv_result.pl -- Write SPARQL results as CSV
      • rdf_turtle_io.pl -- Write query-result graphs as Turtle
      • serql_xml_result.pl
 sparql_query(+Query, -Reply, +Options)
Where Query is either a SPARQL query text or a parsed query. Reply depends on the type of query:
SELECTrow(Col1, Col2, ....)
CONSTRUCTrdf(S,P,O)
DESCRIBErdf(S,P,O)
ASKReply == true or failure of pred

Options are:

entailment(Entailment)
Specify the entailment module used. The default is controlled by the setting sparql:entailment.
base_uri(Base)
Specify the base IRI to use for parsing the query
type(-Type)
Returns one of select(-VarNames), construct, describe or ask.
ordered(-Bool)
True if query contains an ORDER BY clause
distinct(-Bool)
True if query contains a DISTINCT clause
ClioPatria (version V3.1.1-40-g9d9e003)