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