Question: Which area has lower elevation above sea level, Lakewood or Lexington (the one that is headed by mayor)?
Choices: New Haven
Boulder
Columbus
Lexington
Franklin
Greenville
Lakewood
Oakland
Lansing
Waukegan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lakewood" .  } UNION { ?e <pred:name> "Lexington" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "mayor" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lakewood
function: Find
inputs: mayor
function: Relate
dependencies: 1
inputs: office held by head of government
backward
function: Find
inputs: Lexington
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
Answer: Lakewood