Question: Which area is larger, Newfoundland or Cuba (the one that is located in or next to Caribbean Sea)?
Choices: Newfoundland
Cuba
Guernsey
Ireland
Long Island
Tasmania
Maui
Trinidad
Hawaii
Cyprus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newfoundland" .  } UNION { ?e <pred:name> "Cuba" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Caribbean Sea" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Newfoundland
function: Find
inputs: Caribbean Sea
function: Relate
dependencies: 1
inputs: located in or next to body of water
backward
function: Find
inputs: Cuba
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
Answer: Newfoundland