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