Question: Count the total number of bacterias whose division is Firmicutes and domain is Bacteria?
SPARQL query:
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE {?uri onto:division <http://dbpedia.org/resource/Firmicutes> . ?uri prop:domain <http://dbpedia.org/resource/Bacteria> }