Question: Among the landforms that are a part of New Zealand, which has the smallest population?
Choices:
Puerto Rico
South Island
Hawaii
Maui
Ireland
Tasmania
Long Island
Newfoundland
Cyprus
North Island
Program:
function: Find
inputs: New Zealand
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: landform
function: SelectAmong
dependencies: 2
inputs: population
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "New Zealand" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: South Island