Question: Which has higher unemployment, Eritrea or Sri Lanka?
Choices:
Sierra Leone
Eritrea
Colombia
Tunisia
Sri Lanka
Zimbabwe
Italy
Germany
Namibia
Mozambique
Program:
function: Find
inputs: Eritrea
function: Find
inputs: Sri Lanka
function: SelectBetween
dependencies: 0
1
inputs: unemployment rate
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eritrea" .  } UNION { ?e <pred:name> "Sri Lanka" .  } ?e <unemployment_rate> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Eritrea