Question: How many administrative territorial entities of Canada are the origin of the province of Canada whose Statistics Canada Geographic code is 48?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity of Canada" . ?e_1 <separated_from> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "province of Canada" . ?e_1 <Statistics_Canada_Geographic_code> ?pv . ?pv <pred:value> "48" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Statistics Canada Geographic code
48
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: Relate
dependencies: 2
inputs: separated from
forward
function: FilterConcept
dependencies: 3
inputs: administrative territorial entity of Canada
function: Count
dependencies: 4