Question: Which has the smallest total reserves among the constitutional monarchies whose life expectancy is not 40 years?
Choices:
Germany
Sierra Leone
Dubai
Mozambique
Namibia
Colombia
Thailand
Morocco
Tunisia
Eswatini
Answer: Eswatini
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "constitutional monarchy" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> "year" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "40"^^xsd:double ) . ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: life expectancy
40 year
!=
function: FilterConcept
dependencies: 1
inputs: constitutional monarchy
function: SelectAmong
dependencies: 2
inputs: total reserves
smallest