Question: Does Namibia or Sierra Leone have the higher gross domestic product PPP value?
Choices:
Germany
France
Bolivia
Namibia
Malawi
Mozambique
Zimbabwe
Sierra Leone
Tunisia
Italy
Program:
function: Find
inputs: Namibia
function: Find
inputs: Sierra Leone
function: SelectBetween
dependencies: 0
1
inputs: GDP (PPP)
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Namibia" .  } UNION { ?e <pred:name> "Sierra Leone" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Namibia