Question: Which has greater percent of water area, Illinois whose population is 12859995 or Connecticut?
Choices: New Jersey
Florida
Colorado
California
New Mexico
Illinois
Connecticut
Kansas
Massachusetts
Iowa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Illinois" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "12859995"^^xsd:double . } UNION { ?e <pred:name> "Connecticut" . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Illinois
function: FilterNum
dependencies: 0
inputs: population
12859995
=
function: Find
inputs: Connecticut
function: SelectBetween
dependencies: 1
2
inputs: water as percent of area
greater
Answer: Connecticut