Question: What city is run by a mayor and was the location of the Gettysburg war?
Answer(s):
answer: Gettysburg

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:time.event.locations ?x .
?x ns:government.governmental_jurisdiction.governing_officials ?c .
?c ns:government.government_position_held.basic_title ns:m.0pqc5 . 
}