Question: Which area has the smallest percent of water area among the state of the United States that shares border with Arizona (the one whose subreddit is Arizona)?
Choices:
Florida
New Jersey
Nevada
Massachusetts
Iowa
California
Utah
Illinois
New Mexico
Hawaii
Program:
function: Find
inputs: Arizona
function: FilterStr
dependencies: 0
inputs: subreddit
Arizona
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: state of the United States
function: SelectAmong
dependencies: 3
inputs: water as percent of area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Arizona" . ?e_1 <subreddit> ?pv_1 . ?pv_1 <pred:value> "Arizona" . ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Mexico