Question: What is the WOEID of Niagara Falls (the one whose postal code is 14301–14305)?
Choices:
1951874
1451962
2211096
2347572
2459807
36191
2375993
2489634
2377942
23424977
Program:
function: Find
inputs: Niagara Falls
function: FilterStr
dependencies: 0
inputs: postal code
14301–14305
function: QueryAttr
dependencies: 1
inputs: WOEID
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Niagara Falls" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "14301–14305" . ?e <WOEID> ?pv .  }
Answer: 2459807