Question: What is the number of administrative territorial entities of Canada whose capital is Waterloo (whose Statistics Canada Geographic code is 3530016) and country is Slovenia?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Waterloo
function: FilterStr
dependencies: 0
inputs: Statistics Canada Geographic code
3530016
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity of Canada
function: Find
inputs: Slovenia
function: Relate
dependencies: 4
inputs: country
backward
function: FilterConcept
dependencies: 5
inputs: administrative territorial entity of Canada
function: And
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity of Canada" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Waterloo" . ?e_1 <Statistics_Canada_Geographic_code> ?pv . ?pv <pred:value> "3530016" .  ?e <country> ?e_2 . ?e_2 <pred:name> "Slovenia" .  }
Answer: 0