Question: Which movie is longer, Tarzan (the one that was nominated for Satellite Award for Best Animated or Mixed Media Feature) or Cars 2 (the one whose release region is Norway)?
Choices:
Lilo & Stitch
The Rescuers
WALL·E
Shrek 2
Winnie the Pooh
Peter Pan
Aladdin
Cars 2
Renaissance
Beauty and the Beast
Answer: Cars 2
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tarzan" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Satellite Award for Best Animated or Mixed Media Feature" .   } UNION { ?e <pred:name> "Cars 2" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Norway" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Satellite Award for Best Animated or Mixed Media Feature
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Tarzan
function: And
dependencies: 1
2
function: Find
inputs: Norway
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Cars 2
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater