GraphStore`
GraphStore`
SPARQLConstruct
[Experimental]
Details and Options
- SPARQLConstruct can be used in SPARQLExecute to query a SPARQL endpoint.
- The result of executing SPARQLConstruct[patterntemplate] is a RDFStore object containing for each solution the triples of template where variables have been replaced with values of this solution.
- In SPARQLConstruct[pattern], pattern can take the same form as in SPARQLSelect[pattern].
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0e2k6kk165t2shj0es9967rm-wh1lu1
Specify a graph of first and family names:
In[2]:=2

✖
https://wolfram.com/xid/0e2k6kk165t2shj0es9967rm-9cljzh
In[3]:=3

✖
https://wolfram.com/xid/0e2k6kk165t2shj0es9967rm-86pic4
Construct a graph with only the family names:
In[4]:=4

✖
https://wolfram.com/xid/0e2k6kk165t2shj0es9967rm-zrlhi2
Out[4]=4

Scope (1)Survey of the scope of standard use cases
Wolfram Research (2019), SPARQLConstruct, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLConstruct.html.
✖
Wolfram Research (2019), SPARQLConstruct, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLConstruct.html.
Text
Wolfram Research (2019), SPARQLConstruct, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLConstruct.html.
✖
Wolfram Research (2019), SPARQLConstruct, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLConstruct.html.
CMS
Wolfram Language. 2019. "SPARQLConstruct." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLConstruct.html.
✖
Wolfram Language. 2019. "SPARQLConstruct." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLConstruct.html.
APA
Wolfram Language. (2019). SPARQLConstruct. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLConstruct.html
✖
Wolfram Language. (2019). SPARQLConstruct. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLConstruct.html
BibTeX
✖
@misc{reference.wolfram_2025_sparqlconstruct, author="Wolfram Research", title="{SPARQLConstruct}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLConstruct.html}", note=[Accessed: 23-April-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_sparqlconstruct, organization={Wolfram Research}, title={SPARQLConstruct}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLConstruct.html}, note=[Accessed: 23-April-2025
]}