Question: Which has higher elevation above sea level, Augusta (the one that is an administrative division of Kennebec County) or Grand Forks?
Choices:
Franklin
Grand Forks
Compton
New Haven
Lansing
Boulder
Augusta
Columbus
Waukegan
Greenville
Answer: Grand Forks
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Augusta" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Kennebec County" .   } UNION { ?e <pred:name> "Grand Forks" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kennebec County
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Augusta
function: And
dependencies: 1
2
function: Find
inputs: Grand Forks
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater