Question: Which area is larger, Eugene (the one whose population is 137893) or Mansfield (the one whose population is 50212)?
Choices: Mansfield
Waukegan
Columbus
New Haven
Compton
Greenville
Oakland
Eugene
Franklin
Lansing
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eugene" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "137893"^^xsd:double . } UNION { ?e <pred:name> "Mansfield" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "50212"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Eugene
function: FilterNum
dependencies: 0
inputs: population
137893
=
function: Find
inputs: Mansfield
function: FilterNum
dependencies: 2
inputs: population
50212
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
Answer: Eugene