Question: What is the Statistics Canada Geographic code for Halifax in the country of Canada?
Choices:
3519048
3556027
2443027
3526053
1209034
3519036
24
3526043
3521005
1001519
Answer: 1209034
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Halifax" . ?e <country> ?e_1 . ?e_1 <pred:name> "Canada" .  ?e <Statistics_Canada_Geographic_code> ?pv .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Halifax
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: Statistics Canada Geographic code