GraphStore`
GraphStore`

SPARQLExecute

SPARQLExecute[url, query]

executes query on the SPARQL endpoint located at url.

Details

  • In SPARQLExecute[url,query], query can be a symbolic SPARQL query or update request or a string.
  • Possible symbolic query forms include SPARQLSelect, SPARQLAsk and SPARQLConstruct.

Examples

Basic Examples  (1)

Count the triples in Wikidata:

The same query using a query string:

Wolfram Research (2019), SPARQLExecute, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLExecute.html.

Text

Wolfram Research (2019), SPARQLExecute, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLExecute.html.

BibTeX

@misc{reference.wolfram_2021_sparqlexecute, author="Wolfram Research", title="{SPARQLExecute}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLExecute.html}", note=[Accessed: 30-July-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_sparqlexecute, organization={Wolfram Research}, title={SPARQLExecute}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLExecute.html}, note=[Accessed: 30-July-2021 ]}

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