Question: Which has higher elevation above sea level, Algiers whose official name is مدينة خنشلة or Hanover whose native label is Hannover?
Choices:
Hanover
Algiers
Kingston
Kilkenny
Abidjan
Dundee
Santo Domingo
Cork
Bergen
Chihuahua
Answer: Hanover
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Algiers" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "مدينة خنشلة" . } UNION { ?e <pred:name> "Hanover" . ?e <native_label> ?pv_2 . ?pv_2 <pred:value> "Hannover" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Algiers
function: FilterStr
dependencies: 0
inputs: official name
مدينة خنشلة
function: Find
inputs: Hanover
function: FilterStr
dependencies: 2
inputs: native label
Hannover
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
greater