Question: What is the WOEID for Vancouver (the one whose elevation (above sea level) is 52 metre)?
Choices:
560912
2494111
15835
2511258
2459115
34260
1586614
2405872
17044
1106143
Answer: 2511258
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Vancouver" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "52"^^xsd:double . ?e <WOEID> ?pv .  }
Program:
function: Find
inputs: Vancouver
function: FilterNum
dependencies: 0
inputs: elevation above sea level
52 metre
=
function: QueryAttr
dependencies: 1
inputs: WOEID