993,700
edits
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{SNARCStats|head=SNARC Stats:|head-bg=red |main-bg=#eee |align=right}} | {{SNARCStats|head=SNARC Stats:|head-bg=red |main-bg=#eee |align=right}} | ||
{ | {| width=100% | ||
| width=50% | | |||
{{Graph:Pie chart | |||
| height=50 | |||
| title= Type of place | |||
| valueColumn=count | |||
| labelColumn=instanceLabel | |||
| query= | |||
SELECT ?instance ?instanceLabel ?count { { | |||
SELECT ?instance (COUNT(DISTINCT ?item) as ?count) { | |||
{?item wdt:P131 wd:Q25 . } | |||
UNION { ?item wdt:P131 ?pob . ?pob wdt:P131* wd:Q25 } | |||
?item wdt:P31 ?instance.} | |||
GROUP BY ?instance | |||
HAVING (?count > 100)} | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } | |||
ORDER BY DESC(?count) | |||
LIMIT 15 | |||
OFFSET 0 | |||
}} |