Question: Does Rwanda or Mozambique have the higher mains voltage?
Choices:
Mozambique
Italy
Rwanda
Sierra Leone
Bolivia
Zimbabwe
Germany
Tunisia
Namibia
France
Program:
function: Find
inputs: Rwanda
function: Find
inputs: Mozambique
function: SelectBetween
dependencies: 0
1
inputs: mains voltage
greater
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
Answer: Rwanda