Question: Does Moldova or Kosovo have the smaller population?
Choices:
Kazakhstan
Sweden
Cuba
Lithuania
Tajikistan
Finland
Moldova
Greece
Bulgaria
Kosovo
Program:
function: Find
inputs: Moldova
function: Find
inputs: Kosovo
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Moldova" .  } UNION { ?e <pred:name> "Kosovo" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kosovo