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