Question: Which area has higher elevation above sea level, El Paso County (the one that has the capital Colorado Springs) or Bali (the one whose ISO 3166-2 code is ID-BA)?
Choices: Delaware County
San Juan County
Orange County
African Union
Washoe County
Kent County
El Paso County
Cass County
Bali
Greene County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "El Paso County" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Colorado Springs" . } UNION { ?e <pred:name> "Bali" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "ID-BA" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Colorado Springs
function: Relate
dependencies: 0
inputs: capital of
forward
function: Find
inputs: El Paso County
function: And
dependencies: 1
2
function: Find
inputs: Bali
function: FilterStr
dependencies: 4
inputs: ISO 3166-2 code
ID-BA
function: SelectBetween
dependencies: 3
5
inputs: elevation above sea level
greater
Answer: El Paso County