Question: Which has a higher mains voltage, Guam or Aruba?
Choices:
Hawaii
Trinidad
Tasmania
Puerto Rico
Long Island
Newfoundland
Maui
Aruba
Guam
Cyprus
Answer: Aruba
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Guam" .  } UNION { ?e <pred:name> "Aruba" .  } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Guam
function: Find
inputs: Aruba
function: SelectBetween
dependencies: 0
1
inputs: mains voltage
greater