Question: Which movie is longer, Toy Story 3 or Alice in Wonderland (the one that has Mel Blanc as a voice actor)?
Choices: Aladdin
Beauty and the Beast
Toy Story 3
Renaissance
Peter Pan
Alice in Wonderland
Lilo & Stitch
WALL·E
Shrek 2
Winnie the Pooh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Toy Story 3" .  } UNION { ?e <pred:name> "Alice in Wonderland" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Mel Blanc" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Toy Story 3
function: Find
inputs: Mel Blanc
function: Relate
dependencies: 1
inputs: voice actor
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Toy Story 3