Question: Which has less percent of water area, Kansas which contains Sedgwick County or Minnesota which contains the administrative division Hennepin County?
Choices: Illinois
California
Massachusetts
New Mexico
Colorado
New Jersey
Florida
Kansas
Minnesota
Iowa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kansas" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Sedgwick County" .   } UNION { ?e <pred:name> "Minnesota" . ?e <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Hennepin County" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sedgwick County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Kansas
function: And
dependencies: 1
2
function: Find
inputs: Hennepin County
function: Relate
dependencies: 4
inputs: contains administrative territorial entity
backward
function: Find
inputs: Minnesota
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: water as percent of area
less
Answer: Kansas