Question: Which has less mains voltage, Tuvalu (the one whose inflation rate is 2.2 percentage) or Tonga?
Choices: Switzerland
Kiribati
Tuvalu
Cambodia
Tonga
Weimar Republic
Benin
South Sudan
Samoa
Russian Soviet Federative Socialist Republic
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tuvalu" . ?e <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> "percentage" . ?pv_1 <pred:value> "2.2"^^xsd:double . } UNION { ?e <pred:name> "Tonga" . } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tuvalu
function: FilterNum
dependencies: 0
inputs: inflation rate
2.2 percentage
=
function: Find
inputs: Tonga
function: SelectBetween
dependencies: 1
2
inputs: mains voltage
less
Answer: Tuvalu