Question: Which area has higher elevation above sea level, Tampa or Salem (the one that is the birthplace of Nathaniel Hawthorne)?
Choices: Greenville
Salem
New Haven
Lansing
Oakland
Waukegan
Tampa
Franklin
Columbus
Compton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tampa" .  } UNION { ?e <pred:name> "Salem" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Nathaniel Hawthorne" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tampa
function: Find
inputs: Nathaniel Hawthorne
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Salem
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
Answer: Tampa