What is {birthplace} of {William Levitt}, that has {telephone prefix} is {718} ?
Where is the origin of William Levitt in the event that the phone prefix of this area is 718?
Where is the birthplace of William Levitt if the telephone prefix of this location is 718?
SELECT ?v WHERE { FILTER ( CONTAINS ( ?p , '718' ) ) . resource:William_Levitt property:place_of_birth ?v . ?v property:local_dialing_code ?p }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q305645> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P19>. ?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> <718> . }
SELECT ?answer WHERE { wd:Q305645 wdt:P19 ?answer . ?answer wdt:P473 ?x FILTER(contains(?x , '718'))}
New York City