Question: Count all the Colonels?
SPARQL query:
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT COUNT(?uri) WHERE {?uri prop:rank <http://dbpedia.org/resource/Colonel_(United_States)> . }