Question: Is the elevation higher in Riyadh or in Paris, where Gilles Deleuze died?
Choices:
Lausanne
Riga
Manila
Moscow
Sarajevo
New Delhi
Riyadh
Doha
Mexico City
Paris
Answer: Riyadh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Riyadh" .  } UNION { ?e <pred:name> "Paris" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Gilles Deleuze" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Riyadh
function: Find
inputs: Gilles Deleuze
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Paris
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater