Question: Which state in the United States that shares a border with Idaho (that contains the Rocky Mountains) has the lowest percent of water area?
Choices: Nevada
Utah
Illinois
Florida
Wyoming
Colorado
Oregon
Montana
Washington
Iowa
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Idaho" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Rocky Mountains" .  ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rocky Mountains
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Idaho
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: SelectAmong
dependencies: 5
inputs: water as percent of area
smallest
Answer: Nevada