SPARQLVariable["var"]
represents a variable with label "var" in a SPARQL query.


SPARQLVariable
SPARQLVariable["var"]
represents a variable with label "var" in a SPARQL query.
Details and Options
- SPARQLVariable["x"] is used in SPARQL graph patterns and expressions to distinguish a variable with label "x" from a string literal "x".
- The SPARQLVariable wrapper is optional in places where only variables can appear.
- A SPARQLVariable can appear in any position of an RDFTriple.
- An RDFTriple that contains a SPARQLVariable is also known as a triple pattern.
Examples
open all close allSee Also
Related Guides
Text
Wolfram Research (2019), SPARQLVariable, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLVariable.html.
CMS
Wolfram Language. 2019. "SPARQLVariable." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLVariable.html.
APA
Wolfram Language. (2019). SPARQLVariable. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLVariable.html
BibTeX
@misc{reference.wolfram_2025_sparqlvariable, author="Wolfram Research", title="{SPARQLVariable}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLVariable.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_sparqlvariable, organization={Wolfram Research}, title={SPARQLVariable}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLVariable.html}, note=[Accessed: 11-August-2025]}