Question: Count the number of different religions that field marshals have followed?
SPARQL query:
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:militaryRank <http://dbpedia.org/resource/Field_marshal> . ?x onto:religion ?uri . }