Question: Count the number of offices held by people who have their allegiances with the american civil war union?
SPARQL query:
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x prop:allegiance <http://dbpedia.org/resource/Union_(American_Civil_War)> . ?x prop:office ?uri  . }