Question: Which Island is largest by areawise among the Islands located in or next ot Atlantic Ocean?
Choices:
Trinidad
Puerto Rico
Newfoundland
Greenland
Nantucket
Cyprus
Ireland
Long Island
Tasmania
Hawaii
Program:
function: Find
inputs: Atlantic Ocean
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: FilterConcept
dependencies: 1
inputs: island
function: SelectAmong
dependencies: 2
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "island" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Atlantic Ocean" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Greenland