Question: Which movie is longer, Lantana or Cobra (the one whose producer is Menahem Golan)?
Choices:
Lantana
The Fifth Element
Pleasantville
Cobra
Talk to Her
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
Answer: Lantana
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lantana" .  } UNION { ?e <pred:name> "Cobra" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Menahem Golan" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lantana
function: Find
inputs: Menahem Golan
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: Cobra
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater