User:Mhl20/prompts/Largest cities
Jump to navigation
Jump to search
Try it!
Comparison
Stats
- Items only found in SPARQL (
---
in the first column): 313 - Items only found in CSV (
+++
in the first column): 18 - Items that differ between sources (→ in the first column): 0
- Total items in SPARQL: 533
- Total items in CSV: 238
External source
SPARQL query
SELECT DISTINCT ?city ?country WHERE {
?city wdt:P31/wdt:P279* wd:Q515 ; wdt:P1082 ?population .
FILTER (?population > 1000000) .
FILTER NOT EXISTS { ?city wdt:P576 [] } .
OPTIONAL { ?city wdt:P17 ?country }
}
ORDER BY DESC(?population)
Refresh prompt
Customize (optional)
- edit external source for this prompt.
- edit SPARQL for this prompt.
- edit header template
- edit footer template
- edit row added template
- edit row removed template
- edit row modified template
- edit stats template