Question: I would like to know the one that has less mains voltage, Haiti or United Kingdom
Choices:
Samoa
Switzerland
United Kingdom
Russian Soviet Federative Socialist Republic
Cambodia
Haiti
Benin
Weimar Republic
Kiribati
Socialist Federal Republic of Yugoslavia
Answer: Haiti
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "United Kingdom" .  } UNION { ?e <pred:name> "Haiti" .  } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United Kingdom
function: Find
inputs: Haiti
function: SelectBetween
dependencies: 0
1
inputs: mains voltage
less