query-60f070d660db883fdc4ce928abe85e00
unicode strlen()I want to sort two string by their length
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?short WHERE {
wd:Q6938433 wdt:P1813 ?short.
} order by asc(strlen(?short))
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?short"):::projected
c1(["wd:Q6938433"]):::iri
c1 --"wdt:P1813"--> v1