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