Question: Does Lincoln (with postal code of 68588) or Santa Fe (death place of Roger Zelazny) have less elevation above sea level?
Choices:
Boulder
Lincoln
Columbus
New Haven
Compton
Greenville
Waukegan
Oakland
Lansing
Franklin
Answer: Lincoln
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lincoln" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "68588" . } UNION { ?e <pred:name> "Santa Fe" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Roger Zelazny" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lincoln
function: FilterStr
dependencies: 0
inputs: postal code
68588
function: Find
inputs: Roger Zelazny
function: Relate
dependencies: 2
inputs: place of death
forward
function: Find
inputs: Santa Fe
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less