Question: Is the elevation higher in mayor-led Nashville or in Bremerton?
Choices:
Lansing
Franklin
Boulder
Compton
Columbus
New Haven
Nashville
Bremerton
Oakland
Greenville
Answer: Nashville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nashville" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "mayor" .   } UNION { ?e <pred:name> "Bremerton" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: mayor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Nashville
function: And
dependencies: 1
2
function: Find
inputs: Bremerton
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater