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