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.
更多信息和选项
- 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
范例
基本范例 (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]文本
Wolfram Research (2019),SPARQLClear,Wolfram 语言函数,https://reference.wolfram.com/language/GraphStore/ref/SPARQLClear.html.
CMS
Wolfram 语言. 2019. "SPARQLClear." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLClear.html.
APA
Wolfram 语言. (2019). SPARQLClear. Wolfram 语言与系统参考资料中心. 追溯自 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: 10-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: 10-August-2026]}