Question: How many market towns have WOEID 14605 or OS grid reference SK382711?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" .  { ?e <WOEID> ?pv . ?pv <pred:value> "14605" .  } UNION { ?e <OS_grid_reference> ?pv . ?pv <pred:value> "SK382711" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
14605
function: FilterConcept
dependencies: 1
inputs: market town
function: FindAll
function: FilterStr
dependencies: 3
inputs: OS grid reference
SK382711
function: FilterConcept
dependencies: 4
inputs: market town
function: Or
dependencies: 2
5
function: Count
dependencies: 6