Question: What is the OS grid reference for York (the one whose postal code is YO1, YO10, YO19, YO23, YO24, YO26, YO30, YO31, YO32)?
Choices:
TQ315065
TQ2060
TQ1874
SE090254
SS745975
NO115235
SE603517
NZ274424
TQ765555
SK382711
Program:
function: Find
inputs: York
function: FilterStr
dependencies: 0
inputs: postal code
YO1, YO10, YO19, YO23, YO24, YO26, YO30, YO31, YO32
function: QueryAttr
dependencies: 1
inputs: OS grid reference
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "York" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "YO1, YO10, YO19, YO23, YO24, YO26, YO30, YO31, YO32" . ?e <OS_grid_reference> ?pv .  }
Answer: SE603517