Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT ?place ?placeLabel (COUNT(DISTINCT ?person) AS ?COUNT) WHERE {
- ?person wdt:P19 ?place.
- ?place wdt:P17 wd:Q36.
- ?person wdt:P106 [wdt:P279 wd:Q901].
- SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
- }
- GROUP BY ?place ?placeLabel
- ORDER BY DESC(?COUNT)
- LIMIT 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement