What is the {district of China} for {contains administrative territorial entity} of {Shanghai}
Title the locale of China that contains Shanghai.
Name the district of China that contains Shanghai.
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:district_of_China . resource:Shanghai property:contains_administrative_territorial_entity ?f }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8686> . ?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/Q1065118> } 
 select distinct ?obj where { wd:Q8686 wdt:P150 ?obj . ?obj wdt:P31 wd:Q1065118 } 
Huangpu District Changning District Jing'an District Putuo District Hongkou Yangpu District Minhang District Baoshan District Jiading District Jinshan District Songjiang District Qingpu District Fengxian District Chongming District Xuhui District