Question: Which movie is shorter, The End of the Affair (the one that has Peter Cushing as a cast member) or An Alan Smithee Film: Burn Hollywood Burn?
Choices:
The End of the Affair
Training Day
Talk to Her
An Alan Smithee Film: Burn Hollywood Burn
The Towering Inferno
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Rebecca
A Prairie Home Companion
Answer: An Alan Smithee Film: Burn Hollywood Burn
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The End of the Affair" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Peter Cushing" .   } UNION { ?e <pred:name> "An Alan Smithee Film: Burn Hollywood Burn" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Peter Cushing
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The End of the Affair
function: And
dependencies: 1
2
function: Find
inputs: An Alan Smithee Film: Burn Hollywood Burn
function: SelectBetween
dependencies: 3
4
inputs: duration
less