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