Question: Which has more people, Honolulu (the one whose population is 390738) or Utrecht (the one whose number of households is 169513)?
Choices:
Halle (Saale)
Dnipro
Lyon
Bordeaux
Honolulu
Wuppertal
Stuttgart
Regensburg
Fort Smith
Aachen
Answer: Honolulu
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Honolulu" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "390738"^^xsd:double . } UNION { ?e <pred:name> "Utrecht" . ?e <number_of_households> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "169513"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Honolulu
function: FilterNum
dependencies: 0
inputs: population
390738
=
function: Find
inputs: Utrecht
function: FilterNum
dependencies: 2
inputs: number of households
169513
=
function: SelectBetween
dependencies: 1
3
inputs: population
greater