Question: Which area is larger, Dubai (the one whose native label is دبيّ) or Hangzhou?
Choices:
Trieste
Hangzhou
Chihuahua
Dundee
Abidjan
Kingston
Cork
Santo Domingo
Kilkenny
Dubai
Answer: Hangzhou
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dubai" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "دبيّ" . } UNION { ?e <pred:name> "Hangzhou" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dubai
function: FilterStr
dependencies: 0
inputs: native label
دبيّ
function: Find
inputs: Hangzhou
function: SelectBetween
dependencies: 1
2
inputs: area
greater