Question: Which one of the Canadian administrative territories, sharing the border with Newfoundland and Labrador, are smallest by area?
Choices: Yukon
Home Alone
Northwest Territories
Essex County
Quebec
gastroesophageal reflux disease
Nunavut
Stephen Graham
Durham
Monterrey
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity of Canada" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Newfoundland and Labrador" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Newfoundland and Labrador
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity of Canada
function: SelectAmong
dependencies: 2
inputs: area
smallest
Answer: Northwest Territories