Question: Which has lower elevation above sea level, Thessaloniki or Jerusalem whose pronunciation audio is He-Jerusalem.ogg?
Choices:
Abidjan
Bergen
Trieste
Kilkenny
Santo Domingo
Cork
Chihuahua
Thessaloniki
Jerusalem
Dundee
Program:
function: Find
inputs: Thessaloniki
function: Find
inputs: Jerusalem
function: FilterStr
dependencies: 1
inputs: pronunciation audio
He-Jerusalem.ogg
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thessaloniki" . } UNION { ?e <pred:name> "Jerusalem" . ?e <pronunciation_audio> ?pv_1 . ?pv_1 <pred:value> "He-Jerusalem.ogg" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Thessaloniki