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