Question: What country in the Baltic region has a capital named Riga?
Answer(s):
answer: Latvian Soviet Socialist Republic

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.01xrc5)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.01xrc5 ns:location.location.contains ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.country.capital ns:m.06cn5 . 
}