Question: Which area has lower elevation above sea level, Mobile (the one that is the twinned administrative body of Rostov-on-Don) or Rancho Mirage?
Choices:
Boulder
Lansing
New Haven
Waukegan
Franklin
Compton
Rancho Mirage
Mobile
Greenville
Oakland
Program:
function: Find
inputs: Rostov-on-Don
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Mobile
function: And
dependencies: 1
2
function: Find
inputs: Rancho Mirage
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mobile" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Rostov-on-Don" .   } UNION { ?e <pred:name> "Rancho Mirage" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mobile