Question: What is the TOID of the town whose OS grid reference is TQ285815?
Choices:
4000000074574164
7000000000018846
7000000000025469
7000000000044694
4000000074555832
7000000000019687
4000000074578838
4000000074557750
4000000074555542
7000000000011329
Answer: 4000000074557750
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "TQ285815" . ?e <TOID> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OS grid reference
TQ285815
function: FilterConcept
dependencies: 1
inputs: town
function: QueryAttr
dependencies: 2
inputs: TOID