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