Question: Among the first-level administrative country subdivisions that are located in Switzerland, Which has the largest elevation above sea level?
Choices:
Minas Gerais
Chiapas
Greater Poland Voivodeship
Lublin Voivodeship
Podlaskie Voivodeship
Canton of Valais
Aargau
Upper Austria
canton of Zürich
England
Answer: Canton of Valais
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Switzerland" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Switzerland
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
largest