Question: Is the running time longer for The Incredibles, Academy Award nominee for Best Animated Feature, or the action film Shrek Forever After?
Choices: Peter Pan
WALL·E
Shrek 2
The Incredibles
Winnie the Pooh
Beauty and the Beast
Shrek Forever After
Lilo & Stitch
Renaissance
Aladdin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Incredibles" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Animated Feature" .   } UNION { ?e <pred:name> "Shrek Forever After" . ?e <genre> ?e_2 . ?e_2 <pred:name> "action film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Animated Feature
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Incredibles
function: And
dependencies: 1
2
function: Find
inputs: action film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Shrek Forever After
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The Incredibles