Question: Which area has higher elevation above sea level, Paraguay or Eritrea?
Choices:
Namibia
Zimbabwe
Eritrea
Mozambique
Bolivia
Paraguay
Germany
Tunisia
Italy
Sierra Leone
Program:
function: Find
inputs: Paraguay
function: Find
inputs: Eritrea
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Paraguay" .  } UNION { ?e <pred:name> "Eritrea" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Paraguay