Question: Which one has a smallest percentage of water area, Louisiana (the one whose population is 2,101,593) or Arizona (the one whose population is 5,130,632) ?
Choices:
Florida
Massachusetts
California
Hawaii
Arizona
Illinois
New Mexico
Louisiana
Iowa
New Jersey
Answer: Arizona
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Louisiana" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2101593"^^xsd:double . } UNION { ?e <pred:name> "Arizona" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "5130632"^^xsd:double . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Louisiana
function: FilterNum
dependencies: 0
inputs: population
2101593
=
function: Find
inputs: Arizona
function: FilterNum
dependencies: 2
inputs: population
5130632
=
function: SelectBetween
dependencies: 1
3
inputs: water as percent of area
less