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