Question: Does Nevada (the one whose population is 91058) or Louisiana (the one whose percent of water area is 17.52 percentage) have the greater area?
Choices: New Mexico
Massachusetts
Illinois
Nevada
Iowa
Hawaii
Florida
Colorado
New Jersey
Louisiana
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nevada" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "91058"^^xsd:double . } UNION { ?e <pred:name> "Louisiana" . ?e <water_as_percent_of_area> ?pv_2 . ?pv_2 <pred:unit> "percentage" . ?pv_2 <pred:value> "17.52"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Nevada
function: FilterNum
dependencies: 0
inputs: population
91058
=
function: Find
inputs: Louisiana
function: FilterNum
dependencies: 2
inputs: water as percent of area
17.52 percentage
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
Answer: Nevada