Question: Which place has less mains voltage, Tanzania or Mozambique?
Choices:
Namibia
Tunisia
Colombia
Bolivia
Zimbabwe
Tanzania
Sierra Leone
Mozambique
Italy
France
Program:
function: Find
inputs: Mozambique
function: Find
inputs: Tanzania
function: SelectBetween
dependencies: 0
1
inputs: mains voltage
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mozambique" .  } UNION { ?e <pred:name> "Tanzania" .  } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mozambique