Question: Which area is larger, Burlington (the one whose Statistics Canada Geographic code is 3524002) or Suva?
Choices:
Burlington
Trieste
Kingston
Abidjan
Santo Domingo
Chihuahua
Kilkenny
Cork
Bergen
Suva
Program:
function: Find
inputs: Burlington
function: FilterStr
dependencies: 0
inputs: Statistics Canada Geographic code
3524002
function: Find
inputs: Suva
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Burlington" . ?e <Statistics_Canada_Geographic_code> ?pv_1 . ?pv_1 <pred:value> "3524002" . } UNION { ?e <pred:name> "Suva" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Suva