Question: What country has less mains voltage, Gambia or Turkmenistan?
Choices:
Switzerland
South Sudan
Samoa
Socialist Federal Republic of Yugoslavia
Cambodia
Benin
Gambia
Russian Soviet Federative Socialist Republic
Turkmenistan
Weimar Republic
Program:
function: Find
inputs: Turkmenistan
function: Find
inputs: Gambia
function: SelectBetween
dependencies: 0
1
inputs: mains voltage
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Turkmenistan" .  } UNION { ?e <pred:name> "Gambia" .  } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Turkmenistan