Question: Does Verona (population 57170) or Sherbrooke occupy a larger area?
Choices:
Santo Domingo
Dundee
Abidjan
Sherbrooke
Kilkenny
Kingston
Verona
Chihuahua
Bergen
Cork
Answer: Sherbrooke
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Verona" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "57170"^^xsd:double . } UNION { ?e <pred:name> "Sherbrooke" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Verona
function: FilterNum
dependencies: 0
inputs: population
57170
=
function: Find
inputs: Sherbrooke
function: SelectBetween
dependencies: 1
2
inputs: area
greater