Question: Between Monsters, Inc. released in Taiwan or Recess: School's Out, which is longer?
Choices:
Aladdin
Beauty and the Beast
Monsters, Inc.
WALL·E
Peter Pan
The Rescuers
Recess: School's Out
Winnie the Pooh
Renaissance
Shrek 2
Program:
function: Find
inputs: Taiwan
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Monsters, Inc.
function: And
dependencies: 1
2
function: Find
inputs: Recess: School's Out
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monsters, Inc." . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Taiwan" .   } UNION { ?e <pred:name> "Recess: School's Out" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Monsters, Inc.