SELECT DISTINCT COUNT(?uri) WHERE { <http://dbpedia.org/resource/Batman_Live> <http://dbpedia.org/property/characters> ?uri . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/ComicsCharacter>}
Count the number of characters in Batman Live?
SELECT DISTINCT COUNT ( ?b ) WHERE { ?b rdf:type ontology:Comics_Character . resource:Batman_Live property:characters ?b }
11
There are [11] characters in Batman Live.
Batman Live has [11] characters.