Question: which has a smaller area, Fiji or Rhodesia
Choices:
Lithuania
Fiji
Cuba
Tajikistan
Rhodesia
Bulgaria
Greece
Kazakhstan
Finland
Kosovo
Program:
function: Find
inputs: Fiji
function: Find
inputs: Rhodesia
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fiji" .  } UNION { ?e <pred:name> "Rhodesia" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Fiji