Question: Which is longer The Incredibles (the one that received Golden Satellite Awards 2004) or Madagascar: Escape 2 Africa (the one that has Bernie Mac as a voice actor)?
Choices:
Shrek 2
Beauty and the Beast
The Rescuers
WALL·E
Lilo & Stitch
Renaissance
Madagascar: Escape 2 Africa
The Incredibles
Winnie the Pooh
Aladdin
Answer: The Incredibles
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Incredibles" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Golden Satellite Awards 2004" .   } UNION { ?e <pred:name> "Madagascar: Escape 2 Africa" . ?e <voice_actor> ?e_2 . ?e_2 <pred:name> "Bernie Mac" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Golden Satellite Awards 2004
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The Incredibles
function: And
dependencies: 1
2
function: Find
inputs: Bernie Mac
function: Relate
dependencies: 4
inputs: voice actor
backward
function: Find
inputs: Madagascar: Escape 2 Africa
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater