Question: What countries does the river that flows through Niamey flow through?
Answer(s):
answer: Mali
answer: Niger
answer: Nigeria

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:geography.river.cities ns:m.0fqfs . 
?c ns:location.location.partially_containedby ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:location.location.partially_contains ns:m.0l5_l .
}