Question: Which movie is shorter, Ocean's Thirteen or Nuremberg (the one that has Charlotte Gainsbourg as a cast member)?
Choices:
The Fifth Element
Rebecca
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
Training Day
Ocean's Thirteen
The Towering Inferno
Talk to Her
Nuremberg
Answer: Ocean's Thirteen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ocean's Thirteen" .  } UNION { ?e <pred:name> "Nuremberg" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Charlotte Gainsbourg" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ocean's Thirteen
function: Find
inputs: Charlotte Gainsbourg
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Nuremberg
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less