GraphStore`

SPARQLResultsXML (.srx)

Background

Import & Export

  • Import["file.srx"] imports a SPARQL Results XML file, returning a list of associations or a Boolean.
  • Export["file.srx",expr] exports a list of associations or a Boolean to a SPARQL Results XML 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: