what is the {postal code} for {University of Southampton} has {headquarters location} as {Southampton} ?
What's the University of Southampton postal code in Southampton?
What is the postal code University of Southampton located in Southampton?
SELECT ?f WHERE { resource:University_of_Southampton property:headquarters_location ?d . ?d property:headquarters_location resource:Southampton . ?d property:postal_code ?f }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q76473> .
?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/Q79848> .
?statement <http://www.wikidata.org/entity/P281> ?value. 
} 

SELECT ?value WHERE { wd:Q76473 p:P159 ?s . ?s ps:P159 wd:Q79848 . ?s pq:P281 ?value}