Question: Which has higher elevation above sea level, Alexandria (the one whose inception time is -331) or Odessa (the one that is the twinned administrative body of Minsk)?
Choices: Joel Grey
Fremantle
Barcelona
Odessa
Tianjin
İzmir
Gibraltar
Alexandria
Busan
Basra
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alexandria" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> -331 . } UNION { ?e <pred:name> "Odessa" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Minsk" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alexandria
function: FilterYear
dependencies: 0
inputs: inception
-331
=
function: Find
inputs: Minsk
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
greater
Answer: Odessa