Question: Which has a larger proportion of water area: Minnesota (water area 8.41%) or Arizona, which includes Apache County?
Choices:
Hawaii
Illinois
Minnesota
Arizona
Iowa
New Mexico
California
New Jersey
Florida
Massachusetts
Program:
function: Find
inputs: Minnesota
function: FilterNum
dependencies: 0
inputs: water as percent of area
8.41 percentage
=
function: Find
inputs: Apache County
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Arizona
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: water as percent of area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Minnesota" . ?e <water_as_percent_of_area> ?pv_1 . ?pv_1 <pred:unit> "percentage" . ?pv_1 <pred:value> "8.41"^^xsd:double . } UNION { ?e <pred:name> "Arizona" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Apache County" . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Minnesota