What is {headquarters location} of {Honda} that is {postal code} is {107-8556} ?
Where is Honda headquarters with postal code 107-8556?
What is the location of the Honda headquarters with the postal code 107-8556?
SELECT ?v WHERE { resource:Honda property:headquarters_location ?d . ?d property:postal_code ?d . FILTER ( CONTAINS ( ?d , '107-8556' ) ) . ?d property:headquarters_location ?v }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9584> .
?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> <107-8556>
} 

SELECT ?obj WHERE { wd:Q9584 p:P159 ?s . ?s ps:P159 ?obj . ?s pq:P281 ?x filter(contains(?x , '107-8556')) }