Question: Which area has greater elevation above sea level, Fukuoka or Prague (the one that is located in Czech Republic)?
Choices: Doha
Mexico City
Riga
Tallinn
Manila
Prague
Fukuoka
Lausanne
New Delhi
Moscow
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fukuoka" .  } UNION { ?e <pred:name> "Prague" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Czech Republic" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fukuoka
function: Find
inputs: Czech Republic
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Prague
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
Answer: Fukuoka