sparql_json_result.pl -- Write SPARQL results as JSON
- author
- - Jan Wielemaker
- - Michiel Hildebrand
- To be done
- - Support other SPARQL request results
- sparql_write_json_result(+Out:stream, +Result, +Options) is det
- Emit results from a SPARQL query as JSON.
- See also
- - http://www.w3.org/TR/rdf-sparql-json-res/
- rdf_term_to_json(+RDFTerm, -JsonTerm)[private]
- convert an rdf term to a json term.
- To be done
- - : Handle blank nodes.
- literal_to_json(+Literal, -Text, -Attributes)[private]
- Extract text and Attributes from Literal resource.
- object_uri_type(+URI, -Type)[private]
- Type is one of bnode or uri.