Question: Is the longer work The Prince of Egypt or Monster House, an Academy Award nominee for Best Animated Feature?
Choices:
WALL·E
The Prince of Egypt
The Rescuers
Winnie the Pooh
Monster House
Lilo & Stitch
Aladdin
Beauty and the Beast
Renaissance
Shrek 2
Answer: The Prince of Egypt
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Prince of Egypt" .  } UNION { ?e <pred:name> "Monster House" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Animated Feature" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Prince of Egypt
function: Find
inputs: Academy Award for Best Animated Feature
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Monster House
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater