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