Question: Which region has fewer total reserves, Eswatini or Morocco (that has a diplomatic relation with Mali)?
Choices: Eswatini
Germany
Tunisia
Dubai
Morocco
Mozambique
Colombia
Namibia
Thailand
Zimbabwe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eswatini" .  } UNION { ?e <pred:name> "Morocco" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Mali" .   } ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Eswatini
function: Find
inputs: Mali
function: Relate
dependencies: 1
inputs: diplomatic relation
forward
function: Find
inputs: Morocco
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: total reserves
less
Answer: Eswatini