Question: Which one has lower GDP (PPP). Rwanda or Namibia ?
Choices:
Sierra Leone
Namibia
Mozambique
Germany
Zimbabwe
France
Tunisia
Colombia
Italy
Rwanda
Program:
function: Find
inputs: Rwanda
function: Find
inputs: Namibia
function: SelectBetween
dependencies: 0
1
inputs: GDP (PPP)
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rwanda" .  } UNION { ?e <pred:name> "Namibia" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rwanda