Question: Count the number of families of the Animal kingdom.
SPARQL query:
PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:kingdom <http://dbpedia.org/resource/Animal> . ?x onto:family ?uri . }