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