Question: Which one among constitutional monarchies with the life expectancy over or under 13.4 years has the smallest nominal GDP per capita ?
Choices:
Sierra Leone
Morocco
Mozambique
Namibia
Colombia
Dubai
Eswatini
Tunisia
Thailand
Zimbabwe
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: life expectancy
13.4 year
!=
function: FilterConcept
dependencies: 1
inputs: constitutional monarchy
function: SelectAmong
dependencies: 2
inputs: nominal GDP per capita
smallest
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 != "13.4"^^xsd:double ) . ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Morocco