GraphStore`
GraphStore`

SPARQLDeleteInsert

SPARQLDeleteInsert[del,ins,pattern]

is an update operator that can be applied to an RDFStore, which deletes and inserts data generated from templates del and ins, based on solutions of matching pattern.

Details

  • SPARQLDeleteInsert can be used in SPARQLExecute to update data in a SPARQL endpoint.

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

Specify a graph of data about people:

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

Change all given names from "Tony" to "Toni":

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

Retrieve all given names:

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