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