Question: Does Reno (zip codes 89500–89599) or Rochester, birthplace of John Lithgow, have an elevation higher relative to sea level?
Choices:
Columbus
Waukegan
Reno
Franklin
Lansing
Rochester
Oakland
Greenville
New Haven
Boulder
Program:
function: Find
inputs: Reno
function: FilterStr
dependencies: 0
inputs: postal code
89500–89599
function: Find
inputs: John Lithgow
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Rochester
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Reno" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "89500–89599" . } UNION { ?e <pred:name> "Rochester" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "John Lithgow" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Reno