Question: Is there a higher percentage of water area in Pennsylvania or in Minnesota  (the one that contains Stearns County)?
Choices:
New Mexico
Massachusetts
Iowa
Hawaii
California
Pennsylvania
New Jersey
Illinois
Minnesota
Colorado
Answer: Minnesota
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pennsylvania" .  } UNION { ?e <pred:name> "Minnesota" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Stearns County" .   } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Pennsylvania
function: Find
inputs: Stearns County
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Minnesota
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: water as percent of area
greater