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.

更多信息和选项

  • 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.

范例

基本范例  (1)

Specify a graph with data about fruits:

Remove all red fruits:

Wolfram Research (2019),SPARQLDelete,Wolfram 语言函数,https://reference.wolfram.com/language/GraphStore/ref/SPARQLDelete.html.

文本

Wolfram Research (2019),SPARQLDelete,Wolfram 语言函数,https://reference.wolfram.com/language/GraphStore/ref/SPARQLDelete.html.

CMS

Wolfram 语言. 2019. "SPARQLDelete." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLDelete.html.

APA

Wolfram 语言. (2019). SPARQLDelete. Wolfram 语言与系统参考资料中心. 追溯自 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: 22-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: 22-November-2024 ]}