Question: Who fought in Gettysburg and had a combatant involved in Battle of Dinwiddie Court House?
Answer(s):
answer: Confederate States of America
answer: Union

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.01jnm)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01jnm ns:base.culturalevent.event.entity_involved ?x .
?x ns:military.military_combatant.casualties ?c .
?c ns:military.casualties.military_conflict ns:m.042rnz . 
}