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