Question: Does Alexandria (whose population is 4870000) or Odessa (that is the twinned administrative body of Jeddah) have the lower elevation above sea level?
Choices: Basra
Barcelona
Odessa
Busan
Gibraltar
Tianjin
Alexandria
Fremantle
Daniel Handler
İzmir
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alexandria" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4870000"^^xsd:double . } UNION { ?e <pred:name> "Odessa" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Jeddah" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Alexandria
function: FilterNum
dependencies: 0
inputs: population
4870000
=
function: Find
inputs: Jeddah
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: Find
inputs: Odessa
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less
Answer: Alexandria