Question: Which one is shorter, Arthur Christmas or Shark Tale (which features Ziggy Marley as a voice actor)
Choices:
Peter Pan
WALL·E
Shark Tale
Renaissance
The Rescuers
Aladdin
Shrek 2
Lilo & Stitch
Beauty and the Beast
Arthur Christmas
Program:
function: Find
inputs: Arthur Christmas
function: Find
inputs: Ziggy Marley
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> "Arthur Christmas" .  } UNION { ?e <pred:name> "Shark Tale" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Ziggy Marley" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Shark Tale