Question: Count the different religions practiced by people who are in the Malaysian and Chinese association.
SPARQL query:
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:party <http://dbpedia.org/resource/Malaysian_Chinese_Association> . ?x onto:religion ?uri  . }