What is {telephone prefix} of {born at} of {Abu Nuwas} ?
what is the telephone prefix of Abu Nuwas?
Which {telephone prefix} is {born at} {Abu Nuwas} ?
SELECT ?a WHERE { ?b property:local_dialing_code ?a . resource:Abu_Nuwas property:place_of_birth ?b }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5670> . ?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> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?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> ?answer . }
SELECT ?answer WHERE { wd:Q5670 wdt:P19 ?X . ?X wdt:P473 ?answer}
0611