Question: How many administrative territorial entities of Canada contain Windows Administrative division (postal code N9C) ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity of Canada" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Windsor" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "N9C" .   }
Program:
function: Find
inputs: Windsor
function: FilterStr
dependencies: 0
inputs: postal code
N9C
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity of Canada
function: Count
dependencies: 3
Answer: 1