SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/kingdom> <http://dbpedia.org/resource/Animal> . ?x <http://dbpedia.org/ontology/family> ?uri . }
Count the number of families of the Animal kingdom.
SELECT DISTINCT COUNT ( ?m ) WHERE { ?n property:family ?m . . ?n property:kingdom resource:Animal }
288599
There are [288599] families of the Animal kingdom.
In the animal kingdom there are [288599] families.