What is {headquarters location} of {Hewlett-Packard} that is {postal code} is {94304} ?
With a zip code of 94302, the Hewlett-Packard HQ is located where?
Where is the headquarters of Hewlett-Packard with the zip code 94304?
SELECT ?m WHERE { resource:Hewlett-Packard property:headquarters_location ?j . ?j property:postal_code ?m . ?j property:headquarters_location ?m . FILTER ( ?m = 94304 ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q80978> .
?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> <94304>
} 

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