Question: Which part of Atlantic Canada has the smallest area among the provinces of Canada?
Choices:
Saskatchewan
Alberta
Manitoba
British Columbia
New Brunswick
Ontario
Prince Edward Island
Nova Scotia
Newfoundland and Labrador
Quebec
Program:
function: Find
inputs: Atlantic Canada
function: Relate
dependencies: 0
inputs: has part
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 <has_part> ?e . ?e_1 <pred:name> "Atlantic Canada" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Prince Edward Island