Question: What country borders Spain and was involved in the Battle of Talavera?
Answer(s):
answer: France

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.06mkj)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.06mkj ns:location.location.adjoin_s ?y .
?y ns:location.adjoining_relationship.adjoins ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:military.military_combatant.casualties ?c .
?c ns:military.casualties.military_conflict ns:m.03jyvj . 
}