Question: The country that contains Hama is located in what continent?
Answer(s):
answer: Asia

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.02kmjv . 
?c ns:base.locations.countries.continent ?x .
}