Question: How many towns have a WOEID of 40830 and an OS grid reference of NZ508331?
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> "town" . ?e <WOEID> ?pv . ?pv <pred:value> "40830" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "NZ508331" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
40830
function: FilterConcept
dependencies: 1
inputs: town
function: FindAll
function: FilterStr
dependencies: 3
inputs: OS grid reference
NZ508331
function: FilterConcept
dependencies: 4
inputs: town
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0