Question: Does Alice in Wonderland, with the voice of Pinto Colvig, or Monsters, Inc. , released in Portugal, have the shorter run-time?
Choices:
Alice in Wonderland
The Rescuers
Winnie the Pooh
WALL·E
Lilo & Stitch
Aladdin
Shrek 2
Peter Pan
Monsters, Inc.
Beauty and the Beast
Program:
function: Find
inputs: Pinto Colvig
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 1
2
function: Find
inputs: Portugal
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Monsters, Inc.
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice in Wonderland" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Pinto Colvig" .   } UNION { ?e <pred:name> "Monsters, Inc." . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Portugal" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alice in Wonderland