Question: Which has a less elevation above sea level, Manila or Nanjing?
Choices:
Paris
New Delhi
Tallinn
Mexico City
Manila
Nanjing
Lausanne
Sarajevo
Riga
Doha
Answer: Nanjing
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Manila" .  } UNION { ?e <pred:name> "Nanjing" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Manila
function: Find
inputs: Nanjing
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less