Question: What continent contains the country that has Yerevan?
Answer(s):
answer: Europe

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ?c)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
?c ns:location.country.administrative_divisions ns:m.0889d . 
?c ns:base.locations.countries.continent ?x .
}