Did you know ...
Search Documentation:
Predicate sparql_read_json_result/2
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
semweb
semweb
rdf_db.pl -- Core RDF database
rdf_prefixes.pl -- RDF prefixes management
rdf11.pl -- RDF 1.1 API
rdf11_containers.pl -- RDF 1.1 Containers
rdf_cache.pl -- Cache RDF triples
rdf_compare.pl -- Compare RDF graphs
rdf_edit.pl -- RDF edit layer
rdf_http_plugin.pl -- RDF HTTP Plugin
rdf_library.pl -- RDF Library Manager
rdf_litindex.pl -- Search literals
rdf_ntriples.pl -- Process files in the RDF N-Triples format
rdf_persistency.pl -- RDF persistency plugin
rdf_portray.pl -- Portray RDF resources
rdfs.pl -- RDFS handling
rdf_sandbox.pl -- Declare RDF API sandbox-safe
rdf_turtle.pl -- Turtle reader
turtle.pl -- Turtle: Terse RDF Triple Language
rdf_turtle_write.pl -- Turtle - Terse RDF Triple Language writer
rdf_zlib_plugin.pl -- RDF compressed-data plugin
rdfa.pl -- Extract RDF from an HTML or XML DOM
sparql_client.pl -- SPARQL client library
sparql_query/3
sparql_set_server/1
sparql_read_xml_result/2
sparql_read_json_result/2
sparql_read_json_result
(+Input, -Result)
is
det
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/