Question: Which one, Kankakee or Portland (the one that is the residence of Ursula K. Le Guin), has greater elevation (above sea level)?
Choices: Franklin
Kankakee
Lansing
Oakland
New Haven
Greenville
Portland
Waukegan
Boulder
Compton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kankakee" .  } UNION { ?e <pred:name> "Portland" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Ursula K. Le Guin" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kankakee
function: Find
inputs: Ursula K. Le Guin
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Portland
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
Answer: Kankakee