Question: Which movie is shorter, Sailor Moon S: The Movie or Madagascar (the one that has Sacha Baron Cohen as a voice actor)?
Choices:
Shrek 2
Lilo & Stitch
Aladdin
WALL·E
Madagascar
Peter Pan
Winnie the Pooh
Sailor Moon S: The Movie
Renaissance
Beauty and the Beast
Answer: Sailor Moon S: The Movie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sailor Moon S: The Movie" .  } UNION { ?e <pred:name> "Madagascar" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Sacha Baron Cohen" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sailor Moon S: The Movie
function: Find
inputs: Sacha Baron Cohen
function: Relate
dependencies: 1
inputs: voice actor
backward
function: Find
inputs: Madagascar
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less