What is {headquarters location} of {Columbia University} that is {postal code} is {10027} ?
Columbia University's headquarters at postal code 10027 is located where?
Where is Columbia University's headquarters located which has a postal code 10027?
SELECT ?v WHERE { ?o property:postal_code ?w . FILTER ( CONTAINS ( ?w , '10027' ) ) . ?o property:headquarters_location ?v . resource:Columbia_University property:headquarters_location ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q49088> .
?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/P281> <10027>
} 

SELECT ?obj WHERE { wd:Q49088 p:P159 ?s . ?s ps:P159 ?obj . ?s pq:P281 ?x filter(contains(?x , '10027')) }