Question: Which has a greater duration, Brave (which was nominated for a BAFTA Award for Best Animated Film) or Happy Feet (whose original language is English)?
Choices: The Rescuers
Shrek 2
WALL·E
Renaissance
Beauty and the Beast
Happy Feet
Peter Pan
Lilo & Stitch
Brave
Winnie the Pooh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brave" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Animated Film" .   } UNION { ?e <pred:name> "Happy Feet" . ?e <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: BAFTA Award for Best Animated Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Brave
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: original language of film or TV show
backward
function: Find
inputs: Happy Feet
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Happy Feet