Question: What island located in or next to the Indian Ocean has the largest area?
Choices:
Java
Maui
Tasmania
Newfoundland
Bali
Cyprus
Long Island
Trinidad
Puerto Rico
Ireland
Program:
function: Find
inputs: Indian 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> "Indian Ocean" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Java