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