GraphStore`

SPARQLResultsJSON (.srj)

Background

Import & Export

  • Import["file.srj"] imports a SPARQL Results JSON file, returning a list of associations or a Boolean.
  • Export["file.srj",expr] exports a list of associations or a Boolean to a SPARQL Results JSON file.

Import Elements

  • General Import elements:
  • "Elements" list of elements and options available in this file
    "Rules"full list of rules for each element and option
    "Options"list of rules for options, properties and settings
  • Data representation elements:
  • "Data"a list of associations or a Boolean

Examples

Basic Examples  (1)

Export a list of variable bindings:

Import the same data:

Export the result of a SPARQL ASK query: