Question: Does Secretary of State-led Montana or does Indiana have the higher elevation?
Choices:
Massachusetts
New Jersey
Illinois
New Mexico
Florida
Hawaii
California
Colorado
Iowa
Montana
Answer: Montana
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montana" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "Secretary of State" .   } UNION { ?e <pred:name> "Indiana" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Secretary of State
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Montana
function: And
dependencies: 1
2
function: Find
inputs: Indiana
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater