Question: Which has a higher mains voltage, South Africa or Mali?
Choices:
Samoa
Weimar Republic
Russian Soviet Federative Socialist Republic
Kiribati
Switzerland
Mali
South Sudan
Benin
Socialist Federal Republic of Yugoslavia
South Africa
Answer: South Africa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "South Africa" .  } UNION { ?e <pred:name> "Mali" .  } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: South Africa
function: Find
inputs: Mali
function: SelectBetween
dependencies: 0
1
inputs: mains voltage
greater