GraphStore`
GraphStore`

SPARQLDelete

SPARQLDelete[patterntemplate]

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

SPARQLDelete[pattern]

uses pattern as template.

Details and Options

  • SPARQLDelete can be used in SPARQLExecute to delete data from a SPARQL endpoint.
  • In SPARQLDelete[patterntemplate], template corresponds to the DELETE clause, and pattern corresponds to the WHERE clause of a SPARQL update request.
  • In SPARQLDelete[pattern], pattern corresponds to the DELETE WHERE clause of a SPARQL update request.

Examples

Basic Examples  (1)

Specify a graph with data about fruits:

Remove all red fruits:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_sparqldelete, organization={Wolfram Research}, title={SPARQLDelete}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLDelete.html}, note=[Accessed: 21-November-2024 ]}