GraphStore`
GraphStore`

SPARQLMove

SPARQLMove[g1,g2]

is an update operator that can be applied to an RDFStore, which moves data from the graph identified by g1 to the graph identified by g2.

Details

  • SPARQLMove can be used in SPARQLExecute to move a graph in a SPARQL endpoint.
  • Possible values for the gi are:
  • IRI["iri"]graph identified by IRI["iri"]
    "Default"default graph
  • Data from g2 is removed before the move and g1 is deleted after the move.

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

Import data about people:

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

Rename the graph from "tony" to "toni":

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