query-54eeeb66ae6d4d80c0a0c3e3decad00e

rq turtle/ttl

SPARQL Endpoint - Labels are not returned using ORDER BY | ORDER BY ASC() Argument I am trying to receive the result for the following query via Python or JavaScript-Code (using the code-generator on the QueryService page):

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?Literaturpreis ?LiteraturpreisLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?Literaturpreis wdt:P31 wd:Q378427.
}
ORDER BY ASC(?LiteraturpreisLabel)
LIMIT 10

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?Literaturpreis"):::projected v1("?LiteraturpreisLabel"):::projected c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wd:Q378427"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v2 --"wdt:P31"--> c6