Question: Which movie is longer, The Three Musketeers (the one that has Don Ameche as a cast member) or Eyes Wide Shut?
Choices: The Fifth Element
Training Day
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
The Towering Inferno
Eyes Wide Shut
Rebecca
The Three Musketeers
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Three Musketeers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Don Ameche" .   } UNION { ?e <pred:name> "Eyes Wide Shut" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Don Ameche
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 1
2
function: Find
inputs: Eyes Wide Shut
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Eyes Wide Shut