Question: Of the islands that are part of the Lesser Antilles, which has the smallest area?
Choices:
Puerto Rico
Tasmania
Long Island
Cyprus
Newfoundland
Maui
Hawaii
Aruba
Saint John
Trinidad
Program:
function: Find
inputs: Lesser Antilles
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: island
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "island" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "Lesser Antilles" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Saint John