WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

SPARQLDeleteData[data]

is an update operator that can be applied to an RDFStore , which deletes the data data.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Related Guides
Cite this Page

SPARQLDeleteData[data]

is an update operator that can be applied to an RDFStore , which deletes the data data.

Details and Options

  • SPARQLDeleteData can be used in SPARQLExecute to delete data from a SPARQL endpoint.
  • data is usually a list of RDFTriple .
  • data is normally deleted from the default graph.
  • Triples can be deleted from a named graph using SPARQLGraph .

Examples

Basic Examples  (1)

Wolfram Language code: Needs["GraphStore`"];

Data about paintings:

Wolfram Language code: ex[s_] := URL["http://example.org/" <> s];
Wolfram Language code: paintingsGraph = RDFStore[{ RDFTriple[ex["monaLisa"], ex["depicts"], "woman"], RDFTriple[ex["starryNight"], ex["depicts"], "cypress"], RDFTriple[ex["starryNight"], ex["depicts"], "sky"], RDFTriple[ex["starryNight"], ex["depicts"], "tomato"] }]

Delete a triple about "The Starry Night":

Wolfram Language code: paintingsGraph = paintingsGraph//SPARQLDeleteData[RDFTriple[ex["starryNight"], ex["depicts"], "tomato"]]
Wolfram Research (2019), SPARQLDeleteData, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLDeleteData.html.

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2026_sparqldeletedata, author="Wolfram Research", title="{SPARQLDeleteData}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLDeleteData.html}", note=[Accessed: 20-August-2026]}

BibLaTeX

@online{reference.wolfram_2026_sparqldeletedata, organization={Wolfram Research}, title={SPARQLDeleteData}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLDeleteData.html}, note=[Accessed: 20-August-2026]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /