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