Question: Is the elevation lower in Prescott or in Santa Fe, where Roger Zelazny died?
Choices:
Waukegan
Franklin
Columbus
Prescott
Boulder
Compton
New Haven
Lansing
Santa Fe
Greenville
Program:
function: Find
inputs: Prescott
function: Find
inputs: Roger Zelazny
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Santa Fe
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Prescott" .  } 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
Answer: Prescott