Question: Does Hawaii (whose population is 1431603) or Rhode Island have the lower percent of water area?
Choices:
Florida
Colorado
New Mexico
Iowa
Kansas
New Jersey
California
Massachusetts
Hawaii
Rhode Island
Program:
function: Find
inputs: Hawaii
function: FilterNum
dependencies: 0
inputs: population
1431603
=
function: Find
inputs: Rhode Island
function: SelectBetween
dependencies: 1
2
inputs: water as percent of area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hawaii" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1431603"^^xsd:double . } UNION { ?e <pred:name> "Rhode Island" . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rhode Island