WOLFRAM

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

SPARQLClear[g]

is an update operator that can be applied to an RDFStore , which clears the graph identified by g.

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

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)

Wolfram Language code: Needs["GraphStore`"]

Import an RDF dataset:

Wolfram Language code: 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"]

Clear the "notes" graph:

Wolfram Language code: ds = SPARQLClear[URL["http://example.org/notes"]][ds]
Wolfram Research (2019), SPARQLClear, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLClear.html.

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: 21-August-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: 21-August-2026]}

Top [フレーム]

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