Question: Does Maui or Vancouver Island have more residents?
Choices:
Tasmania
Puerto Rico
Vancouver Island
Cyprus
Newfoundland
Hawaii
Ireland
Trinidad
Maui
Guernsey
Program:
function: Find
inputs: Maui
function: Find
inputs: Vancouver Island
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Maui" .  } UNION { ?e <pred:name> "Vancouver Island" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Vancouver Island