Question: Among the islands that are a part of the British Isles, which one has the smallest population?
Choices:
Ireland
Hawaii
Maui
Great Britain
Newfoundland
Guernsey
Trinidad
Tasmania
Cyprus
Long Island
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: population
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 <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ireland