Question: At what elevation above sea level is the first level administrative country subdivision sharing a border with Ticino?
Choices:
2405 metre
151 metre
123 metre
183 metre
814 metre
881 metre
663 foot
268 metre
512 metre
365 metre
Answer: 512 metre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Ticino" .  ?e <elevation_above_sea_level> ?pv .  }
Program:
function: Find
inputs: Ticino
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: QueryAttr
dependencies: 2
inputs: elevation above sea level