What is the {city district} for {contains administrative territorial entity} of {Bonn}
[]
Which is the city district that contains the administrative territorial entity of Bonn?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city_district . resource:Bonn property:contains_administrative_territorial_entity ?w }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q586> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P150> . ?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/Q4286337> } 
 select distinct ?obj where { wd:Q586 wdt:P150 ?obj . ?obj wdt:P31 wd:Q4286337 } 