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