Question: What administrative territorial entity of Canada borders the city whose official name is City of Toronto ?
Choices: Mississauga
Nunavut
Platoon
1982 Cannes Film Festival
Durham
Yukon
Lewes F.C.
Burton Albion F.C.
Northwest Territories
Essex County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity of Canada" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <official_name> ?pv . ?pv <pred:value> "City of Toronto" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
City of Toronto
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: shares border with
forward
function: FilterConcept
dependencies: 3
inputs: administrative territorial entity of Canada
function: What
dependencies: 4
Answer: Durham