Question: Of Canadian provinces with the Canadian dollar as their basic currency, which occupies the least area?
Choices:
Saskatchewan
Quebec
Ontario
Newfoundland and Labrador
Manitoba
Nova Scotia
Alberta
British Columbia
New Brunswick
Prince Edward Island
Program:
function: Find
inputs: Canadian dollar
function: Relate
dependencies: 0
inputs: currency
backward
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 <currency> ?e_1 . ?e_1 <pred:name> "Canadian dollar" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Prince Edward Island