Question: Who fought in the Battle of Gettysburg with Montgomery as its capital?
Answer(s):
answer: Confederate States of America

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:location.country.capital ns:m.0fttg . 
}