10 library(semweb/sparql_client): SPARQL client library
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • library(semweb/sparql_client): SPARQL client library
          • sparql_query/3
          • sparql_set_server/1
          • sparql_read_xml_result/2
          • sparql_read_json_result/2
Availability::- use_module(library(semweb/sparql_client)).
[det]sparql_read_json_result(+Input, -Result)
The returned Result term is of the format:
select(VarNames, Rows)
Where VarNames is a term v(Name, ...) and Rows is a list of row(....) containing the column values in the same order as the variable names.
ask(Bool)
Where Bool is either true or false
See also
http://www.w3.org/TR/rdf-sparql-json-res/