Question: Which one among the islands of British Isles is the smallest?
Choices:
Hawaii
Tasmania
Ireland
Guernsey
Cyprus
Puerto Rico
Trinidad
Maui
Great Britain
Newfoundland
Program:
function: Find
inputs: British Isles
function: Relate
dependencies: 0
inputs: has part
forward
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_1 <has_part> ?e . ?e_1 <pred:name> "British Isles" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ireland