Question: Which has a smaller population, Seychelles or Sri Lanka?
Choices:
Tunisia
Sierra Leone
Colombia
Bolivia
Zimbabwe
Italy
Mozambique
Seychelles
Sri Lanka
Germany
Program:
function: Find
inputs: Seychelles
function: Find
inputs: Sri Lanka
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seychelles" .  } UNION { ?e <pred:name> "Sri Lanka" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Seychelles