SPARQLInsertData
SPARQLInsertData[data]
データ data を挿入する,RDFStoreに適用可能な挿入演算子である.
詳細とオプション
- SPARQLExecuteでSPARQLInsertDataを使ってSPARQL Endpointにデータを挿入することができる.
例題
すべて開く すべて閉じる例 (1)
Needs["GraphStore`"]ex[s_] := URL["http://example.org/" <> s];fruitGraph = RDFStore[{
RDFTriple[ex["banana"], ex["color"], "yellow"],
RDFTriple[ex["strawberry"], ex["color"], "red"]
}];fruitGraph = fruitGraph//SPARQLInsertData[{
RDFTriple[ex["kiwi"], ex["color"], "green"],
RDFTriple[ex["apricot"], ex["color"], "orange"]
}]スコープ (1)
Needs["GraphStore`"]現在の人口データを含むRDFStoreを作る:
ex[s_] := URL["http://example.org/" <> s];store = RDFStore[{
RDFTriple[ex["Germany"], ex["population"], 80500000]
}]store = store//SPARQLInsertData[SPARQLGraph[ex["dataset/1986"], RDFTriple[ex["Germany"], ex["population"], 78000000]]]関連するガイド
テキスト
Wolfram Research (2019), SPARQLInsertData, Wolfram言語関数, https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsertData.html.
CMS
Wolfram Language. 2019. "SPARQLInsertData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsertData.html.
APA
Wolfram Language. (2019). SPARQLInsertData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsertData.html
BibTeX
@misc{reference.wolfram_2026_sparqlinsertdata, author="Wolfram Research", title="{SPARQLInsertData}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsertData.html}", note=[Accessed: 18-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_sparqlinsertdata, organization={Wolfram Research}, title={SPARQLInsertData}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLInsertData.html}, note=[Accessed: 18-August-2026]}