Question: Count all the scientologists.
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE {?uri onto:religion <http://dbpedia.org/resource/Scientology> . }