Question: Is the elevation higher in the Bali that borders East Java or in State College?
Choices: Cass County
Bali
Lee County
Orange County
African Union
Washoe County
San Juan County
State College
Delaware County
Greene County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bali" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "East Java" .   } UNION { ?e <pred:name> "State College" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: East Java
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Bali
function: And
dependencies: 1
2
function: Find
inputs: State College
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater
Answer: State College