Question: Does Madison (the one that is the twinned administrative body of Freiburg im Breisgau) or Huntington Beach have lesser elevation (above sea level) ?
Choices:
Greenville
New Haven
Compton
Lansing
Boulder
Waukegan
Madison
Huntington Beach
Columbus
Oakland
Program:
function: Find
inputs: Freiburg im Breisgau
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Madison
function: And
dependencies: 1
2
function: Find
inputs: Huntington Beach
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madison" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Freiburg im Breisgau" .   } UNION { ?e <pred:name> "Huntington Beach" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Huntington Beach