Question: Which movie has a larger GDP (PPP), Mozambique or Sudan?
Choices:
Bolivia
Sierra Leone
Mozambique
Namibia
France
Sudan
Italy
Germany
Tunisia
Zimbabwe
Program:
function: Find
inputs: Mozambique
function: Find
inputs: Sudan
function: SelectBetween
dependencies: 0
1
inputs: GDP (PPP)
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mozambique" .  } UNION { ?e <pred:name> "Sudan" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sudan