Question: Which country with the highest calling code does the Niger river flow through?
Answer(s):
answer: Nigeria

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.05csx)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.05csx 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 .
?x ns:location.country.calling_code ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1