Question: Is The Simpsons Movie or Cinderella which was nominated for an Academy Award for Best Original Song shorter?
Choices: WALL·E
Shrek 2
The Rescuers
Lilo & Stitch
Renaissance
Beauty and the Beast
Winnie the Pooh
The Simpsons Movie
Peter Pan
Cinderella
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Simpsons Movie" .  } UNION { ?e <pred:name> "Cinderella" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Original Song" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Simpsons Movie
function: Find
inputs: Academy Award for Best Original Song
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Cinderella
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Cinderella