Question: Which of the countries of the Sahel through which the Niger River flows has the smallest army?
Answer(s):
answer: Niger

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.statistical_region.size_of_armed_forces ?c .
?c ns:measurement_unit.dated_integer.number ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1