Question: What number of US towns have Pinal County as the capital and 33480 as the postal code?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Pinal County" .  ?e <postal_code> ?pv . ?pv <pred:value> "33480" .  }
Program:
function: Find
inputs: Pinal County
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
33480
function: FilterConcept
dependencies: 4
inputs: town of the United States
function: And
dependencies: 2
5
function: Count
dependencies: 6