Question: Count the number of religions followed by Janta Dal members.
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x prop:party <http://dbpedia.org/resource/Janata_Dal> . ?x onto:religion ?uri . }