Question: Which one lies higher above sea level, Abilene or Columbus (the twin town of Ahmedabad) ?
Choices:
Compton
Greenville
Boulder
Franklin
Columbus
Waukegan
Abilene
Lansing
New Britain
New Haven
Answer: Abilene
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Abilene" .  } UNION { ?e <pred:name> "Columbus" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Ahmedabad" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Abilene
function: Find
inputs: Ahmedabad
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Columbus
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater