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