GraphStore`
GraphStore`

SPARQLClear

SPARQLClear[g]

is an update operator that can be applied to an RDFStore, which clears the graph identified by g.

Details

  • SPARQLClear can be used in SPARQLExecute to clear data from a SPARQL endpoint.
  • g can take the following values:
  • IRI["iri"]graph identified by IRI["iri"]
    "Default"default graph
    "Named"all named graphs
    "All"the default and all named graphs

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

Import an RDF dataset:

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

Clear the "notes" graph:

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