Question: Which one has the lower mains voltage, Cuba, with the population of 8,715,054, or Malta ?
Choices: Cuba
Bulgaria
Kazakhstan
Finland
Sweden
Greece
Lithuania
Malta
Tajikistan
Fiji
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cuba" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "8715054"^^xsd:double . } UNION { ?e <pred:name> "Malta" . } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Cuba
function: FilterNum
dependencies: 0
inputs: population
8715054
=
function: Find
inputs: Malta
function: SelectBetween
dependencies: 1
2
inputs: mains voltage
less
Answer: Cuba