GraphStore`
GraphStore`

SPARQLInsert

SPARQLInsert[patterntemplate]

is an insert operator that can be applied to an RDFStore, which inserts data generated from template, based on solutions of matching pattern.

Details

  • SPARQLInsert can be used in SPARQLExecute to insert data into a SPARQL endpoint.
  • In SPARQLInsert[patterntemplate], template corresponds to the INSERT clause, and pattern corresponds to the WHERE clause of a SPARQL update request.

Examples

open all close all

Basic Examples  (1)

In[1]:=
Click for copyable input

Specify a graph containing data about geometric objects:

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

Add the diameter to objects that have a radius:

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

Look up diameters:

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

Applications  (1)