SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/almaMater> <http://dbpedia.org/resource/Yokohama_National_University> . ?x <http://dbpedia.org/ontology/religion> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Politician>}
What religion do the politicians follow, who graduated from the Yokkohama Nationaal University?
SELECT DISTINCT ?k WHERE { ?m property:religion ?k . ?m rdf:type ontology:Politician . ?m property:alma_mater resource:Yokohama_National_University }
Buddhism
The religion of the politicians whose alma mater is Yokohama National University is [Buddhism].
The religion of politicians who went to Yokohama National University is [Buddhism].