Question: Which movie is shorter, Ice Age: Dawn of the Dinosaurs (the one that has Denis Leary as a voice actor) or Mobile Suit Gundam: Char's Counterattack?
Choices:
Ice Age: Dawn of the Dinosaurs
Renaissance
Shrek 2
The Rescuers
WALL·E
Beauty and the Beast
Peter Pan
Lilo & Stitch
Winnie the Pooh
Mobile Suit Gundam: Char's Counterattack
Program:
function: Find
inputs: Denis Leary
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Ice Age: Dawn of the Dinosaurs
function: And
dependencies: 1
2
function: Find
inputs: Mobile Suit Gundam: Char's Counterattack
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ice Age: Dawn of the Dinosaurs" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Denis Leary" .   } UNION { ?e <pred:name> "Mobile Suit Gundam: Char's Counterattack" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ice Age: Dawn of the Dinosaurs