query-40e11d8a77cd4f79686e8d411e50bd8d
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?numberLabel (count(?numberLabel) as ?count) WHERE {
?number wdt:P31/wdt:P279 wd:Q12503 . #find integers
?number rdfs:label ?numberLabel . FILTER(lang(?numberLabel) = "en") #get the integer's en label
?item ?property ?numberLabel . #find items for which the integer's label value is an item property value
?item rdfs:label ?itemLabel . FILTER(lang(?itemLabel) = "en") #show only en itemLabels
}
group by ?numberLabel
having (?count > 20000)
order by DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?count")
v5("?item")
v2("?itemLabel")
v4("?number")
v3("?numberLabel"):::projected
v6("?property")
a1((" "))
c5(["wd:Q12503"]):::iri
f0[["?count > '20000^^xsd:integer'"]]
f0 --> v7
f1[["?itemLabel = 'en'"]]
f1 --> v2
f2[["?numberLabel = 'en'"]]
f2 --> v3
v4 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
v4 --"rdfs:label"--> v3
v5 -->v6--> v3
v5 --"rdfs:label"--> v2
bind4[/"count(?numberLabel)"/]
v3 --o bind4
bind4 --as--o v7