Question: What is the OS grid reference for the town whose WOEID is 35318?
Choices:
NZ2460
TQ233786
SP1579
TQ385755
NZ365665
SP818138
SP0091
TL148073
SD583055
TQ295795
Answer: NZ365665
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "35318" . ?e <OS_grid_reference> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
35318
function: FilterConcept
dependencies: 1
inputs: town
function: QueryAttr
dependencies: 2
inputs: OS grid reference