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
Answer: SE603517
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 .  }
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