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