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