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:
  • URL["iri"]graph identified by the given identifier
    "Default"default graph
  • The graph identified by g2 is cleared before data is inserted.

Examples

Basic Examples  (1)

Import a catalog of paintings:

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

Review the labels of paintings in the default graph: