query-d0f396bcdbd39bf41d711d97f80a09eb
: ValterVB, Yellowcard@A better one, with only one result by item for the label "Paris" sorted by number of languages :
Use at
- https://query.wikidata.org/sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
select ?item (group_concat(lang(?label); separator=", ") as ?lang) (count(?label) as ?nb)where {
select ?item ?label where {?item rdfs:label ?label filter(str(?label) = "Paris") } limit 350
} group by (?item) order by ?nb
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v2("?label"):::projected
v4("?lang")
v5("?nb")
f0[["str(?label) = 'Paris'"]]
f0 --> v2
v3 --"rdfs:label"--> v2
bind3[/"?label"/]
v2 --o bind3
bind3 --as--o v4
bind4[/"count(?label)"/]
v2 --o bind4
bind4 --as--o v5