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