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