What is {admin HQ} of {Arsenal F.C.}, that has {zipcode} is {NW} ?
What put with a NW zipcode is the admin HQ of Weapons store F.C.?
What place with a NW zipcode is the admin HQ of Arsenal F.C.?
SELECT ?a WHERE { FILTER ( CONTAINS ( ?t , 'NW' ) ) . ?a property:postal_code ?t . resource:Arsenal_F.C. property:headquarters_location ?a }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q9617> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P281> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <NW> . }
SELECT ?answer WHERE { wd:Q9617 wdt:P159 ?answer . ?answer wdt:P281 ?x FILTER(contains(?x , 'NW'))}
London