Question: Does Uganda or Morocco (whose life expectancy is 71.456 years) have the lower real gross domestic product rate of growth?
Choices:
Sierra Leone
Germany
Morocco
Dubai
Thailand
Eswatini
Uganda
Colombia
Mozambique
Namibia
Program:
function: Find
inputs: Uganda
function: Find
inputs: Morocco
function: FilterNum
dependencies: 1
inputs: life expectancy
71.456 year
=
function: SelectBetween
dependencies: 0
2
inputs: real gross domestic product growth rate
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Uganda" . } UNION { ?e <pred:name> "Morocco" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> "year" . ?pv_1 <pred:value> "71.456"^^xsd:double . } ?e <real_gross_domestic_product_growth_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Morocco