Question: Which area is larger, Darwin (the one whose native label is Darwin) or Salisbury (the one whose country is United Kingdom)?
Choices:
Bergen
Dundee
Abidjan
Salisbury
Kilkenny
Chihuahua
Kingston
Cork
Trieste
Darwin
Answer: Darwin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Darwin" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Darwin" . } UNION { ?e <pred:name> "Salisbury" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Darwin
function: FilterStr
dependencies: 0
inputs: native label
Darwin
function: Find
inputs: United Kingdom
function: Relate
dependencies: 2
inputs: country
backward
function: Find
inputs: Salisbury
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater