Question: Which is longer, The Hangover that was nominated for a MTV Movie Award for Best Villain or A Man for All Seasons that received a 39th Academy Award?
Choices:
The Hangover
The Fifth Element
A Prairie Home Companion
The Towering Inferno
A Man for All Seasons
Pleasantville
The Hunchback of Notre Dame
Rebecca
Training Day
Talk to Her
Program:
function: Find
inputs: MTV Movie Award for Best Villain
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Hangover
function: And
dependencies: 1
2
function: Find
inputs: 39th Academy Awards
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: A Man for All Seasons
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hangover" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Movie Award for Best Villain" .   } UNION { ?e <pred:name> "A Man for All Seasons" . ?e <award_received> ?e_2 . ?e_2 <pred:name> "39th Academy Awards" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: A Man for All Seasons