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