Question: Does Punch-Drunk Love or The Contender, with Sam Elliott as a cast member, have the longer run-time?
Choices:
Talk to Her
Training Day
Curse of the Golden Flower
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
The Contender
The Towering Inferno
Answer: The Contender
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Punch-Drunk Love" .  } UNION { ?e <pred:name> "The Contender" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sam Elliott" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Punch-Drunk Love
function: Find
inputs: Sam Elliott
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Contender
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater