Question: Of Canadian provinces that are administrative divisions of Canada, which occupies the least area?
Choices:
Nova Scotia
Alberta
Manitoba
New Brunswick
Quebec
Ontario
Newfoundland and Labrador
British Columbia
Saskatchewan
Prince Edward Island
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Canada" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Prince Edward Island