GraphStore`
GraphStore`

SPARQLCopy

SPARQLCopy[g1,g2]

is an update operator that can be applied to an RDFStore, which copies the contents of the graph identified by g1 into the graph identified by g2.

Details

  • SPARQLCopy can be used in SPARQLExecute to copy a graph in a SPARQL endpoint.
  • Possible values for the gi are:
  • IRI["iri"]graph identified by IRI["iri"]
    "Default"default graph
  • The graph identified by g2 is cleared before data is inserted.

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

Import a catalog of paintings:

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

Restore the default graph from a backup stored in a named graph:

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

Review the labels of paintings in the default graph:

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