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