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