Question: Does Bali (in the vicinity of the Indian Ocean) or South Island occupy the smaller area?
Choices:
Trinidad
Tasmania
Maui
South Island
Ireland
Cyprus
Puerto Rico
Newfoundland
Hawaii
Bali
Answer: Bali
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bali" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Indian Ocean" .   } UNION { ?e <pred:name> "South Island" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Indian Ocean
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: Find
inputs: Bali
function: And
dependencies: 1
2
function: Find
inputs: South Island
function: SelectBetween
dependencies: 3
4
inputs: area
less