SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Hamas> <http://dbpedia.org/property/international> ?x . ?x <http://dbpedia.org/ontology/religion> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/PoliticalParty>}
What is the religion of the political party which is an international party of Hamas?
SELECT DISTINCT ?a WHERE { ?b property:religion ?a . ?b rdf:type ontology:Political_Party . resource:Hamas property:international ?b }
Wahhabism, Sunni Islam, Islam
The religions of the political party which is the international party of Hamas are [Wahhabism, Sunni Islam, Islam].
The religions of the political party that is Hamas's international party are [Wahhabism, Sunni Islam, Islam].