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 and Options

  • 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 allclose all

Basic Examples  (1)

Specify a graph containing data about geometric objects:

Add the diameter to objects that have a radius:

Look up diameters:

Applications  (1)

Export an insert operator as a SPARQL update string:

Wolfram Research (2019), SPARQLInsert, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsert.html.

Text

Wolfram Research (2019), SPARQLInsert, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsert.html.

CMS

Wolfram Language. 2019. "SPARQLInsert." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsert.html.

APA

Wolfram Language. (2019). SPARQLInsert. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsert.html

BibTeX

@misc{reference.wolfram_2024_sparqlinsert, author="Wolfram Research", title="{SPARQLInsert}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsert.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_sparqlinsert, organization={Wolfram Research}, title={SPARQLInsert}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsert.html}, note=[Accessed: 22-December-2024 ]}