Question: Which military people served their allegiance to Union (American Civil War)?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE {?uri prop:allegiance <http://dbpedia.org/resource/Union_(American_Civil_War)>  . ?uri rdf:type onto:MilitaryPerson}