SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/allegiance> <http://dbpedia.org/resource/Union_(American_Civil_War)> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/MilitaryPerson>}
Which military people served their allegiance to Union (American Civil War)?
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Military_Person . ?w property:allegiance resource:Union_(_American_Civil_War) }
answer
The military people with allegiance to the Union (American Civil War) are [answer].
Soldiers loyal to the Union (the American Civil War) are [answer].