Question: Is there less area in Cuba (located near the Caribbean Sea) or Iceland (where the male population is 33689)?
Choices: Maui
Trinidad
Cyprus
Tasmania
Long Island
Hawaii
Ireland
Iceland
Puerto Rico
Newfoundland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cuba" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Caribbean Sea" . } UNION { ?e <pred:name> "Iceland" . ?e <male_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "33689"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Caribbean Sea
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: Find
inputs: Cuba
function: And
dependencies: 1
2
function: Find
inputs: Iceland
function: FilterNum
dependencies: 4
inputs: male population
33689
=
function: SelectBetween
dependencies: 3
5
inputs: area
less
Answer: Iceland