Question: Count the number of people became famous for when Andrew Jackson was a commander ?
SPARQL query: SELECT DISTINCT COUNT(?uri) WHERE { ?x <http://dbpedia.org/ontology/commander> <http://dbpedia.org/resource/Andrew_Jackson> . ?uri <http://dbpedia.org/ontology/knownFor> ?x  . }
Answer: There are [8] people known for works commanded by Andrew Jackson.