Question: Which one has more are area among the provinces of Canada?
Choices:
Prince Edward Island
Newfoundland and Labrador
Quebec
British Columbia
Ontario
New Brunswick
Saskatchewan
Alberta
Manitoba
Nova Scotia
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: SelectAmong
dependencies: 2
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Canada" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Quebec