Question: Which one has the shortest running time, Ice Age: Continental Drift or Shark Tale (the one that has Jack Black as a voice actor) ?
Choices:
Ice Age: Continental Drift
Aladdin
Winnie the Pooh
WALL·E
Renaissance
The Rescuers
Peter Pan
Shark Tale
Lilo & Stitch
Shrek 2
Program:
function: Find
inputs: Ice Age: Continental Drift
function: Find
inputs: Jack Black
function: Relate
dependencies: 1
inputs: voice actor
backward
function: Find
inputs: Shark Tale
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ice Age: Continental Drift" .  } UNION { ?e <pred:name> "Shark Tale" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Jack Black" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ice Age: Continental Drift