Question: Which of these two locations—Shiraz, which has a pronunciation audio of Fa-Shiraz.ogg, or Espoo—is located at a higher above-sea-level elevation?
Choices:
Bergen
Espoo
Santo Domingo
Shiraz
Kingston
Kilkenny
Chihuahua
Trieste
Abidjan
Dundee
Program:
function: Find
inputs: Espoo
function: Find
inputs: Shiraz
function: FilterStr
dependencies: 1
inputs: pronunciation audio
Fa-Shiraz.ogg
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Espoo" . } UNION { ?e <pred:name> "Shiraz" . ?e <pronunciation_audio> ?pv_1 . ?pv_1 <pred:value> "Fa-Shiraz.ogg" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Shiraz