Question: Which place has a higher elevation above sea level, Oklahoma City or Miami (the one that is the twinned administrative body of Palermo)?
Choices:
New Haven
Boulder
Miami
Oakland
Oklahoma City
Franklin
Compton
Greenville
Columbus
Waukegan
Answer: Oklahoma City
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oklahoma City" .  } UNION { ?e <pred:name> "Miami" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Palermo" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Oklahoma City
function: Find
inputs: Palermo
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Miami
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater