Question: Out of the terrain features of the United Kingdom, which has the smallest population?
Choices:
Tasmania
Maui
Ireland
Great Britain
Cyprus
Trinidad
Guernsey
Newfoundland
Puerto Rico
Long Island
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: located on terrain feature
forward
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_1 <located_on_terrain_feature> ?e . ?e_1 <pred:name> "United Kingdom" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ireland