Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT DISTINCT ?city ?cityLabel ?countryLabel (SAMPLE(?location) AS ?location) (MAX(?population) AS ?population)
- WHERE
- {
- ?city wdt:P31/wdt:P279* wd:Q515;
- wdt:P625 ?location;
- wdt:P1082 ?population;
- wdt:P17 ?country.
- SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
- }
- GROUP BY ?city ?cityLabel ?countryLabel
- LIMIT 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement