Question: Which area has lower elevation above sea level, Uxbridge or Concord (the one that is the twinned administrative body of Baghdad)?
Choices:
Kensington
Bedford
Uxbridge
Westport
West Hartford
Brookline
Litchfield
Chapel Hill
Greenwich
Concord
Answer: Concord
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Uxbridge" .  } UNION { ?e <pred:name> "Concord" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Baghdad" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Uxbridge
function: Find
inputs: Baghdad
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Concord
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less