What is {home town} of {Horiyoshi III}, that has {local dialling code} is {45} ?
Is the town with the neighborhood dialling code forty five the domestic town of Horiyoshi III?
Is the town with the local dialling code 45 the home town of Horiyoshi III?
SELECT ?b WHERE { FILTER ( ?r = 45 ) . resource:Horiyoshi_III property:residence ?b . ?b property:local_dialing_code ?r }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1558289> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P551>. ?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/P473> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <45> . }
SELECT ?answer WHERE { wd:Q1558289 wdt:P551 ?answer . ?answer wdt:P473 ?x FILTER(contains(?x , '45'))}
Yokohama