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