Question: Which has less nominal GDP per capita, Mozambique or Uganda?
Choices:
Germany
Namibia
France
Zimbabwe
Tunisia
Mozambique
Colombia
Sierra Leone
Bolivia
Italy
Program:
function: Find
inputs: Mozambique
function: Find
inputs: Uganda
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mozambique" .  } UNION { ?e <pred:name> "Uganda" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mozambique