SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/allegiance> <http://dbpedia.org/resource/Union_(American_Civil_War)> . ?x <http://dbpedia.org/property/office> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/OfficeHolder>}
Which offices were held by the politicians who held their allegiance to the union of american civil war?
SELECT DISTINCT ?v WHERE { ?p rdf:type ontology:Office_Holder . ?p property:allegiance resource:Union_(_American_Civil_War) . ?p property:office ?v }
answer
The offices of the office holders whose allegiance is the union american civil war are [answer].
office holder offices, whose branch is the American Civil War Union, are [the answer].