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