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