Question: Does Mainz or Honolulu (the birthplace of Nicole Scherzinger) have the higher elevation above sea level?
Choices:
Lyon
Dnipro
Halle (Saale)
Honolulu
Bordeaux
Aachen
Stuttgart
Utrecht
Wuppertal
Mainz
Program:
function: Find
inputs: Mainz
function: Find
inputs: Nicole Scherzinger
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Honolulu
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mainz" .  } UNION { ?e <pred:name> "Honolulu" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Nicole Scherzinger" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mainz