Question: Which has a smaller mains voltage, Trinidad and Tobago or Sweden?
Choices:
Trinidad and Tobago
Fiji
Tajikistan
Bulgaria
Kazakhstan
Cuba
Lithuania
Finland
Greece
Kosovo
Program:
function: Find
inputs: Trinidad and Tobago
function: Find
inputs: Sweden
function: SelectBetween
dependencies: 0
1
inputs: mains voltage
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Trinidad and Tobago" .  } UNION { ?e <pred:name> "Sweden" .  } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Trinidad and Tobago