Question: What is OS grid reference of the city whose local dialing code is 01524?
Choices:
TQ255755
TQ385755
TR218361
TQ267814
SD475615
SP8778
SU485295
SP316660
SY690906
SN415205
Answer: SD475615
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "01524" . ?e <OS_grid_reference> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
01524
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: OS grid reference