Question: What town has a TOID of 4000000074579136 and an OS grid reference equal to TQ445865?
Choices:
South Shields
Basingstoke
Royal Tunbridge Wells
Doncaster
Wigan
Edmonton
Blackburn
Colchester
Macclesfield
Ilford
Answer: Ilford
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <TOID> ?pv . ?pv <pred:value> "4000000074579136" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "TQ445865" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
4000000074579136
function: FilterConcept
dependencies: 1
inputs: town
function: FindAll
function: FilterStr
dependencies: 3
inputs: OS grid reference
TQ445865
function: FilterConcept
dependencies: 4
inputs: town
function: And
dependencies: 2
5
function: What
dependencies: 6