What is {is in administrative unit} of {Imo State}, that has {capital city} is {Lagos} ?
What is within the authoritative unit of Imo State, particularly the one who's capital city is Lagos?
What is in the administrative unit of Imo State, specifically the one who's capital city is Lagos?
SELECT ?n WHERE { ?n property:capital resource:Lagos . resource:Imo_State property:located_in_the_administrative_territorial_entity ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q842939> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8673> . }
SELECT ?answer WHERE { wd:Q842939 wdt:P131 ?answer . ?answer wdt:P36 wd:Q8673}