Question: Which is shorter, Velvet Goldmine or The Great Gatsby starring Robert Redford?
Choices: The Great Gatsby
Rebecca
The Fifth Element
A Prairie Home Companion
Velvet Goldmine
Training Day
Pleasantville
The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Velvet Goldmine" .  } UNION { ?e <pred:name> "The Great Gatsby" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robert Redford" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Velvet Goldmine
function: Find
inputs: Robert Redford
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Great Gatsby
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Velvet Goldmine