What is {headquarters} of {Ghent University}, that has {telephone prefix} is {09} ?
What is the central command of Ghent College, whose phone prefix is 09?
What is the headquarters of Ghent University, whose telephone prefix is 09?
SELECT ?l WHERE { ?l property:local_dialing_code ?j . resource:Ghent_University property:headquarters_location ?l . FILTER ( ?j = 09 ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1137665> . ?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/P473> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <09> . }
SELECT ?answer WHERE { wd:Q1137665 wdt:P159 ?answer . ?answer wdt:P473 ?x FILTER(contains(?x , '09'))}
Ghent