Question: What population number is the smallest and is the capital of ancient Israel?
Answer(s):
answer: Nablus

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.04fry)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.04fry ns:location.country.capital ?x .
?x ns:topic_server.population_number ?num .
}
ORDER BY xsd:integer(?num) LIMIT 1