What is the {city with millions of inhabitants} for {twinned administrative body} of {Lahore}
What is the government of Lahore?
What is the government of Lahore?
SELECT DISTINCT ?e WHERE { resource:Lahore property:twinned_administrative_body ?e . ?e rdf:type ontology:city_with_millions_of_inhabitants }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11739> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P190> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1637706> } 
 select distinct ?obj where { wd:Q11739 wdt:P190 ?obj . ?obj wdt:P31 wd:Q1637706 } 
Fez Mashhad Istanbul Chicago Xi'an Chengdu Isfahan