Question: Does Wyoming (that is an administrative division of the United States of America) or Oregon (whose proportion of water area is 2.43 percent) have the larger area?
Choices: Massachusetts
Colorado
New Jersey
Hawaii
Illinois
New Mexico
Wyoming
Oregon
Florida
Iowa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wyoming" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "United States of America" . } UNION { ?e <pred:name> "Oregon" . ?e <water_as_percent_of_area> ?pv_1 . ?pv_1 <pred:unit> "percentage" . ?pv_1 <pred:value> "2.43"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Wyoming
function: And
dependencies: 1
2
function: Find
inputs: Oregon
function: FilterNum
dependencies: 4
inputs: water as percent of area
2.43 percentage
=
function: SelectBetween
dependencies: 3
5
inputs: area
greater
Answer: Oregon