query-869fb5c4b875cf04c0e0869d27409003
TODO
Use at
- https://query.wikidata.org/sparql
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 ?LpSort2 WHERE {
{
SELECT ?Literaturpreis ?LiteraturpreisLabel WHERE {
?Literaturpreis wdt:P31 wd:Q378427.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
}
BIND(fn:normalize-unicode(?LiteraturpreispLabel, "NFKD") AS ?LpSort) .
BIND(REPLACE(?LpSort, "\\p{NonspacingMark}", "") AS ?LpSort2) .
}
ORDER BY DESC(?LpSort2)
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?Literaturpreis"):::projected
v3("?LpSort")
v4("?LpSort2"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q378427"]):::iri
v2 --"wdt:P31"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind0[/"normalize-unicode(?LiteraturpreispLabel,'NFKD')"/]
null --o bind0
bind0 --as--o v3
bind1[/"replace(?LpSort,'\p{NonspacingMark}','')"/]
v3 --o bind1
bind1 --as--o v4