Question: What is the OS grid reference for the town whose TOID is 4000000074571206?
Choices: NX976762
NS590655
SE164331
TG5207
SU775075
SU867929
SE603517
TL855645
SP0198
TQ255755
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074571206" . ?e <OS_grid_reference> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
4000000074571206
function: FilterConcept
dependencies: 1
inputs: town
function: QueryAttr
dependencies: 2
inputs: OS grid reference
Answer: TG5207