query: SELECT ?city ?cityLabel ?population ?OSM_relation_ID WHERE {
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
    ?city wdt:P31/wdt:P279* wd:Q515;
      wdt:P17 wd:Q34.
    OPTIONAL { ?city wdt:P1082 ?population. }
    OPTIONAL { ?city wdt:P402 ?OSM_relation_ID. }
  }
  