Question: Of the countries in West Africa, which has the largest population?
Answer(s):
answer: Nigeria

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.0hqjh)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.0hqjh ns:location.location.contains ?x .
?x ns:common.topic.notable_types ns:m.01mp .
?x ns:topic_server.population_number ?num .
}
ORDER BY DESC(xsd:integer(?num)) LIMIT 1