Question: How many college towns at zip code 1209 belong to the country Sweden?
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> "college town" . ?e <postal_code> ?pv . ?pv <pred:value> "1209" . ?e <country> ?e_1 . ?e_1 <pred:name> "Sweden" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
1209
function: FilterConcept
dependencies: 1
inputs: college town
function: Find
inputs: Sweden
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: college town
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0