Question: Which one is longer, Wyatt Earp (the one that has Gene Hackman as a cast member) or Ryan's Daughter ?
Choices:
A Prairie Home Companion
Training Day
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
Ryan's Daughter
Talk to Her
The Towering Inferno
Rebecca
Wyatt Earp
Answer: Ryan's Daughter
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wyatt Earp" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Gene Hackman" .   } UNION { ?e <pred:name> "Ryan's Daughter" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Gene Hackman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Wyatt Earp
function: And
dependencies: 1
2
function: Find
inputs: Ryan's Daughter
function: SelectBetween
dependencies: 3
4
inputs: duration
greater