Question: Which is the smallest region in the Canadian province located in the Atlantic Time Zone
Choices:
Prince Edward Island
Ontario
Quebec
New Brunswick
British Columbia
Manitoba
Alberta
Saskatchewan
Nova Scotia
Newfoundland and Labrador
Program:
function: Find
inputs: Atlantic Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
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 <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Atlantic Time Zone" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Prince Edward Island