Question: What is the population of the city bordering St. Catharines?
Choices:
1633
15308084
9892
28229291
16087
2996091
33201
82997
16986307
162963
Answer: 82997
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "St. Catharines" .  ?e <population> ?pv .  }
Program:
function: Find
inputs: St. Catharines
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: population