Question: Which area is larger, Alaska (the one that contains Juneau) or New Hampshire?
Choices:
Hawaii
Iowa
Alaska
Colorado
California
Massachusetts
Illinois
New Hampshire
New Jersey
New Mexico
Answer: Alaska
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alaska" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Juneau" .   } UNION { ?e <pred:name> "New Hampshire" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Juneau
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Alaska
function: And
dependencies: 1
2
function: Find
inputs: New Hampshire
function: SelectBetween
dependencies: 3
4
inputs: area
greater