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