what is the {located in the administrative territorial entity} for {Huawei} has {headquarters location} as {Shenzhen} ?
What is located in the administrative territorial entity for Huawei, which has it's headquarters in Shenzhen ?
what is located in the administrative territorial entity for Huawei has headquarters location as Shenzhen ?
SELECT ?x WHERE { ?b property:headquarters_location resource:Shenzhen . ?b property:located_in_the_administrative_territorial_entity ?x . resource:Huawei property:headquarters_location ?b }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q160120> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q15174> .
?statement <http://www.wikidata.org/entity/P131> ?value. 
} 

SELECT ?value WHERE { wd:Q160120 p:P159 ?s . ?s ps:P159 wd:Q15174 . ?s pq:P131 ?value}