Question: Is the shorter work The Other Boleyn Girl or The Haunting, with Bruce Dern as a cast member?
Choices: The Haunting
The Towering Inferno
A Prairie Home Companion
Rebecca
Talk to Her
Training Day
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Other Boleyn Girl" .  } UNION { ?e <pred:name> "The Haunting" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Bruce Dern" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Other Boleyn Girl
function: Find
inputs: Bruce Dern
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Haunting
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: The Haunting