Question: Which is shorter, South Pacific, with Ray Walston in the cast, or Looney Tunes: Back in Action, which includes Casey Kasem as a voice actor?
Choices:
Talk to Her
A Prairie Home Companion
The Towering Inferno
The Fifth Element
Training Day
South Pacific
The Hunchback of Notre Dame
Looney Tunes: Back in Action
Pleasantville
Rebecca
Program:
function: Find
inputs: Ray Walston
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: South Pacific
function: And
dependencies: 1
2
function: Find
inputs: Casey Kasem
function: Relate
dependencies: 4
inputs: voice actor
backward
function: Find
inputs: Looney Tunes: Back in Action
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "South Pacific" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ray Walston" .   } UNION { ?e <pred:name> "Looney Tunes: Back in Action" . ?e <voice_actor> ?e_2 . ?e_2 <pred:name> "Casey Kasem" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Looney Tunes: Back in Action