Question: Which has more population, Utrecht that has 172749 households or Honolulu, USA?
Choices:
Utrecht
Stuttgart
Halle (Saale)
Dnipro
Bordeaux
Lyon
Regensburg
Honolulu
Aachen
Wuppertal
Answer: Honolulu
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Utrecht" . ?e <number_of_households> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "172749"^^xsd:double . } UNION { ?e <pred:name> "Honolulu" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Utrecht
function: FilterNum
dependencies: 0
inputs: number of households
172749
=
function: Find
inputs: United States of America
function: Relate
dependencies: 2
inputs: country
backward
function: Find
inputs: Honolulu
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: population
greater