Question: In terms of area, is Antigua and Barbuda or Finland the smaller of the two?
Choices:
Ukrainian Soviet Socialist Republic
Lithuania
Trinidad and Tobago
Denmark
Antigua and Barbuda
Jamaica
Tajikistan
Saint Vincent and the Grenadines
Kosovo
Kazakhstan
Program:
function: Find
inputs: Antigua and Barbuda
function: Find
inputs: Finland
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Antigua and Barbuda" .  } UNION { ?e <pred:name> "Finland" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Antigua and Barbuda