GraphStore`
GraphStore`

SPARQLOrderBy

SPARQLOrderBy[expr]

is a query operator that sorts solutions by the value of expr.

SPARQLOrderBy[expr"order"]

sorts in ascending or descending order.

SPARQLOrderBy[{spec1,spec2,}]

breaks ties by successively using the speci.

Details and Options

Examples

Basic Examples  (1)

Data about books:

Find books ordered by publication date, with the newest first:

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

Text

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

CMS

Wolfram Language. 2020. "SPARQLOrderBy." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLOrderBy.html.

APA

Wolfram Language. (2020). SPARQLOrderBy. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLOrderBy.html

BibTeX

@misc{reference.wolfram_2024_sparqlorderby, author="Wolfram Research", title="{SPARQLOrderBy}", year="2020", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLOrderBy.html}", note=[Accessed: 09-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_sparqlorderby, organization={Wolfram Research}, title={SPARQLOrderBy}, year={2020}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLOrderBy.html}, note=[Accessed: 09-December-2024 ]}