Question: Which one, Nebraska (the one that is a part of contiguous United States) or Ohio, has greater area?
Choices:
New Mexico
Florida
New Jersey
California
Illinois
Hawaii
Massachusetts
Nebraska
Colorado
Iowa
Program:
function: Find
inputs: contiguous United States
function: Relate
dependencies: 0
inputs: has part
forward
function: Find
inputs: Nebraska
function: And
dependencies: 1
2
function: Find
inputs: Ohio
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nebraska" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "contiguous United States" .   } UNION { ?e <pred:name> "Ohio" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nebraska