Question: Tell me the one with a smaller area, Trinidad or Guam.
Choices:
Cyprus
Tasmania
Puerto Rico
Hawaii
Guernsey
Newfoundland
Guam
Maui
Ireland
Trinidad
Program:
function: Find
inputs: Guam
function: Find
inputs: Trinidad
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Guam" .  } UNION { ?e <pred:name> "Trinidad" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Guam