Question: What is the continent where the city of Lyon is situated and that also contains the Thames River?
Answer(s):
answer: Europe

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0d2kt)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0d2kt ns:location.location.containedby ?x .
?x ns:location.location.contains ?c .
?c ns:location.mailing_address.citytown ns:m.0dprg . 
}