query-fd92f9b03657684f56e02597e8e8a391
List of country (Q6256) also we try this query : (P31)instance of in (Q6256)country Hello, we want to have the list of all the item with ORDER BY (despite uppercase/lowercase and accented character)Hello, Is it a possibility to order the results by a alphabethic way despite the uppercase/lowercase and accented character? For example in that query :
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 ?country ?countryLabel
WHERE {
?country wdt:P31 wd:Q6256.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?countryLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?country"):::projected
v1("?countryLabel"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q6256"]):::iri
v2 --"wdt:P31"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end