SPARQLExecute[url, query]
url にあるSPARQL Endpointで query を実行する.
SPARQLExecute
SPARQLExecute[url, query]
url にあるSPARQL Endpointで query を実行する.
詳細とオプション
- SPARQLExecute[url,query]の query は,記号的なSPARQLクエリ,更新リクエスト,または文字列でよい.
- 使用可能な記号によるクエリ形式には, SPARQLSelect,SPARQLAsk,SPARQLConstructがある.
例題
例 (1)
Needs["GraphStore`"]SPARQLExecute[
"https://query.wikidata.org/sparql",
SPARQLSelect[RDFTriple[SPARQLVariable["x"], SPARQLVariable["y"], SPARQLVariable["z"]]] /* SPARQLAggregate["count" -> SPARQLEvaluation["count"][]]
]SPARQLExecute[
"https://query.wikidata.org/sparql",
"select (count(*) as ?count) where {?x ?y ?z}"
]関連するガイド
テキスト
Wolfram Research (2019), SPARQLExecute, Wolfram言語関数, https://reference.wolfram.com/language/GraphStore/ref/SPARQLExecute.html.
CMS
Wolfram Language. 2019. "SPARQLExecute." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLExecute.html.
APA
Wolfram Language. (2019). SPARQLExecute. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLExecute.html
BibTeX
@misc{reference.wolfram_2026_sparqlexecute, author="Wolfram Research", title="{SPARQLExecute}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLExecute.html}", note=[Accessed: 18-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_sparqlexecute, organization={Wolfram Research}, title={SPARQLExecute}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLExecute.html}, note=[Accessed: 18-August-2026]}