Question: Does Chichester whose population is 117000 or Guildford whose area is 270.9 square kilometers have the larger population?
Choices: Carlisle
King's Lynn and West Norfolk
West Dorset
Chichester
North Norfolk
Kettering
Woking
South Somerset
Guildford
Great Yarmouth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chichester" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "117000"^^xsd:double . } UNION { ?e <pred:name> "Guildford" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "270.9"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Chichester
function: FilterNum
dependencies: 0
inputs: population
117000
=
function: Find
inputs: Guildford
function: FilterNum
dependencies: 2
inputs: area
270.9 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: population
greater
Answer: Guildford