Question: Which area is larger, Burnaby or Surrey (the one whose area is 316410000 square metre)?
Choices: Cork
Burnaby
Bergen
Kingston
Chihuahua
Dundee
Abidjan
Surrey
Kilkenny
Trieste
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Burnaby" . } UNION { ?e <pred:name> "Surrey" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square metre" . ?pv_1 <pred:value> "316410000"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Burnaby
function: Find
inputs: Surrey
function: FilterNum
dependencies: 1
inputs: area
316410000 square metre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
Answer: Surrey