Question: DOes Zambia or Latvia have a greater PPP GDP per capita?
Choices: Bolivia
Germany
Italy
Mozambique
Colombia
Namibia
Latvia
Sierra Leone
Zambia
Zimbabwe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Zambia" .  } UNION { ?e <pred:name> "Latvia" .  } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Zambia
function: Find
inputs: Latvia
function: SelectBetween
dependencies: 0
1
inputs: PPP GDP per capita
greater
Answer: Latvia