SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/party> <http://dbpedia.org/resource/Bharatiya_Janata_Party> . ?x <http://dbpedia.org/ontology/religion> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Person>}
Which religion's people are member of BJP?
SELECT DISTINCT ?u WHERE { ?h property:party resource:Bharatiya_Janata_Party . ?h rdf:type ontology:Person . ?h property:religion ?u }
Hinduism, Donyi-Polo, Sikh, Hindu, Sikhism, Islam, Jainism, Shia Islam, History of Buddhism in India, Muslim, Buddhism, Catholic Church, Hinduism, Teli
The religions of the people who are members of Bharatiya Janata party are [Hinduism, Donyi-Polo, Sikh, Hindu, Sikhism, Islam, Jainism, Shia Islam, History of Buddhism in India, Muslim, Buddhism, Catholic Church, Hinduism, Teli].
Religions of members of the Bharatiya Janata Party [Hinduism, Donyi Polo, Shih, Hinduism, Shia Islam, the history of Buddhism in India, Islam, Buddhism, the Catholic Church, Hinduism, Tels].