What is {place of incorporation} of {The Police}, that has {ZIP+4} is {W1F 0HS} ?
What is the area of incorporation of the The Police, that has Zip + 4 and is W1F 0HS?
What is the place of incorporation of the The Police, that has Zip + 4 and is W1F 0HS?
SELECT ?n WHERE { FILTER ( CONTAINS ( ?l , 'W1F 0HS' ) ) . ?n property:postal_code ?l . resource:The_Police property:location_of_formation ?n }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q178095> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P740>. ?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> <W1F 0HS> . }
SELECT ?answer WHERE { wd:Q178095 wdt:P740 ?answer . ?answer wdt:P281 ?x FILTER(contains(?x , 'W1F 0HS'))}