What is {headquarters location} of {China National Petroleum Corporation} that is {located at street address} is {9 Dongzhimen North Street, Dongcheng District} ?
Give me the China National Petroleum Corporation headquarters location, located at 9 Dongzhimen North Street, Dongcheng District.
What is the China National Petroleum Corporation headquarters location that is located at 9 Dongzhimen North Street, Dongcheng District?
SELECT ?j WHERE { FILTER ( CONTAINS ( ?k , '9 Dongzhimen North Street, Dongcheng District' ) ) . ?m property:headquarters_location ?j . ?m property:P969 ?k . resource:China_National_Petroleum_Corporation property:headquarters_location ?m }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q588786> .
?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> ?obj .
?statement <http://www.wikidata.org/entity/P969> <9 Dongzhimen North Street, Dongcheng District>
} 

SELECT ?obj WHERE { wd:Q588786 p:P159 ?s . ?s ps:P159 ?obj . ?s pq:P969 ?x filter(contains(?x , '9 Dongzhimen North Street, Dongcheng District')) }