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