SPARQLClear[g]
is an update operator that can be applied to an RDFStore, which clears the graph identified by g.
SPARQLClear
SPARQLClear[g]
is an update operator that can be applied to an RDFStore, which clears the graph identified by g.
Details and Options
- SPARQLClear can be used in SPARQLExecute to clear data from a SPARQL endpoint.
- g can take the following values:
-
URL["iri"] graph identified by the given identifier "Default" default graph "Named" all named graphs "All" the default and all named graphs
Examples
Basic Examples (1)
Needs["GraphStore`"]ds = ImportString["
prefix ex: <http://example.org/>
ex:notes {
[ex:date \"2018-06-03\"; ex:metWith \"Tom\"]
[ex:date \"2018-06-04\"; ex:metWith \"Anna\"]
}
", "TriG"]ds = SPARQLClear[URL["http://example.org/notes"]][ds]Related Guides
Text
Wolfram Research (2019), SPARQLClear, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLClear.html.
CMS
Wolfram Language. 2019. "SPARQLClear." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLClear.html.
APA
Wolfram Language. (2019). SPARQLClear. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLClear.html
BibTeX
@misc{reference.wolfram_2026_sparqlclear, author="Wolfram Research", title="{SPARQLClear}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLClear.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_sparqlclear, organization={Wolfram Research}, title={SPARQLClear}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLClear.html}, note=[Accessed: 13-June-2026]}