what is the {postal code} for {Ford} has {headquarters location} as {Dearborn} ?
The Dearborn headquarters of Ford has what zip code?
What is the zip code for Ford's headquarters in Dearborn?
SELECT ?q WHERE { ?t property:headquarters_location resource:Dearborn . resource:Ford_Motor_Company property:headquarters_location ?t . ?t property:postal_code ?q }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q44294> .
?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/Q430464> .
?statement <http://www.wikidata.org/entity/P281> ?value. 
} 

SELECT ?value WHERE { wd:Q44294 p:P159 ?s . ?s ps:P159 wd:Q430464 . ?s pq:P281 ?value}