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