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)

In[1]:=
Click for copyable input

Export a list of variable bindings:

In[2]:=
Click for copyable input
Out[2]=

Import the same data:

In[3]:=
Click for copyable input
Out[3]=

Export the result of a SPARQL ASK query:

In[4]:=
Click for copyable input
Out[4]=