SPARQLAdd[g1,g2]
g1で識別されるグラフから g2で識別されるグラフにデータを加える,RDFStoreに適用可能な更新演算子である.
SPARQLAdd
SPARQLAdd[g1,g2]
g1で識別されるグラフから g2で識別されるグラフにデータを加える,RDFStoreに適用可能な更新演算子である.
詳細とオプション
- SPARQLExecuteでSPARQLAddを使って,SPARQL Endpointにグラフを加えることができる.
- 次は,giの可能な値である.
-
URL["iri"] 与えられた識別子で識別されるグラフ "Default" デフォルトグラフ
例題
例 (1)
Needs["GraphStore`"];astroStore = ImportString["
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix unit: <http://qudt.org/vocab/unit#>
prefix ex: <http://example.org/>
ex:graph\\/planet {
ex:earth
rdfs:Label \"Earth\";
ex:mass \"5.9721986e+24\"^^unit:Kilogram .
}
ex:graph\\/star {
ex:sun
rdfs:label \"Sun\";
ex:mass \"1.988435e+30\"^^unit:Kilogram .
}
", "TriG"]astroStore = SPARQLAdd[URL["http://example.org/graph/planet"], "Default"][astroStore]関連するガイド
テキスト
Wolfram Research (2019), SPARQLAdd, Wolfram言語関数, https://reference.wolfram.com/language/GraphStore/ref/SPARQLAdd.html.
CMS
Wolfram Language. 2019. "SPARQLAdd." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLAdd.html.
APA
Wolfram Language. (2019). SPARQLAdd. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLAdd.html
BibTeX
@misc{reference.wolfram_2026_sparqladd, author="Wolfram Research", title="{SPARQLAdd}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLAdd.html}", note=[Accessed: 11-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_sparqladd, organization={Wolfram Research}, title={SPARQLAdd}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLAdd.html}, note=[Accessed: 11-August-2026]}