SPARQLProject
SPARQLProject["var"]
is a query operator that yields solutions containing only values for the variable "var".
SPARQLProject["newvar"expr]
yields solutions containing only the variable "newvar" whose value is computed from expr.
SPARQLProject[{vspec1,vspec2,…}]
selects and computes values for multiple variables.
Details and Options
- A RightComposition of operators SPARQLSelect[…]/*…/*SPARQLProject[…]/*… can be used in SPARQLExecute to query a SPARQL endpoint. Composition is also supported.
- SPARQLProject[…] can be applied to the result of a SPARQLSelect query.
- In SPARQLProject[{…,"newvari"expri,…,"newvari+n"expri+n,…}], SPARQLVariable["newvari"] can be used in expri+n to refer to the value of expri.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Properties & Relations (1)Properties of the function, and connections to other functions

https://wolfram.com/xid/0d2fb8m8r9fo8302xe2f0qxfv6-qfcmvn

https://wolfram.com/xid/0d2fb8m8r9fo8302xe2f0qxfv6-kqoe0v

https://wolfram.com/xid/0d2fb8m8r9fo8302xe2f0qxfv6-ncusu3

The same using KeyTake:

https://wolfram.com/xid/0d2fb8m8r9fo8302xe2f0qxfv6-ot8pak


https://wolfram.com/xid/0d2fb8m8r9fo8302xe2f0qxfv6-p4oh3h

The same using Query:

https://wolfram.com/xid/0d2fb8m8r9fo8302xe2f0qxfv6-rgmtfz

Wolfram Research (2020), SPARQLProject, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLProject.html.
Text
Wolfram Research (2020), SPARQLProject, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLProject.html.
Wolfram Research (2020), SPARQLProject, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLProject.html.
CMS
Wolfram Language. 2020. "SPARQLProject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLProject.html.
Wolfram Language. 2020. "SPARQLProject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLProject.html.
APA
Wolfram Language. (2020). SPARQLProject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLProject.html
Wolfram Language. (2020). SPARQLProject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLProject.html
BibTeX
@misc{reference.wolfram_2025_sparqlproject, author="Wolfram Research", title="{SPARQLProject}", year="2020", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLProject.html}", note=[Accessed: 27-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_sparqlproject, organization={Wolfram Research}, title={SPARQLProject}, year={2020}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLProject.html}, note=[Accessed: 27-March-2025
]}