Question: How many London areas are designated by TOID numeric code 4000000074580402 or OS grid reference TQ255755?
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> "area of London" .  { ?e <TOID> ?pv . ?pv <pred:value> "4000000074580402" .  } UNION { ?e <OS_grid_reference> ?pv . ?pv <pred:value> "TQ255755" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
4000000074580402
function: FilterConcept
dependencies: 1
inputs: area of London
function: FindAll
function: FilterStr
dependencies: 3
inputs: OS grid reference
TQ255755
function: FilterConcept
dependencies: 4
inputs: area of London
function: Or
dependencies: 2
5
function: Count
dependencies: 6