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