Question: What is the OS grid reference of the town with the TOID of 4000000074541243?
Choices:
SE245225
SW475306
TQ145885
SJ491124
TQ395775
TQ245765
TR218361
TQ239709
SJ805985
TL056071
Answer: TQ239709
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074541243" . ?e <OS_grid_reference> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
4000000074541243
function: FilterConcept
dependencies: 1
inputs: town
function: QueryAttr
dependencies: 2
inputs: OS grid reference