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