Question: Is Secret of the Wings or Winnie the Pooh, released in Italy, the shorter work?
Choices:
Lilo & Stitch
Aladdin
Cinderella
Shrek 2
Beauty and the Beast
Secret of the Wings
Peter Pan
Renaissance
Winnie the Pooh
The Rescuers
Program:
function: Find
inputs: Secret of the Wings
function: Find
inputs: Italy
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Winnie the Pooh
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Secret of the Wings" .  } UNION { ?e <pred:name> "Winnie the Pooh" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Italy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Winnie the Pooh