Question: Which is longer, The Crucible that was nominated for a Satellite Award for Best Adapted Screenplay or Body of Lies?
Choices:
Pleasantville
Curse of the Golden Flower
Training Day
The Hunchback of Notre Dame
Body of Lies
Rebecca
The Fifth Element
The Towering Inferno
Talk to Her
A Prairie Home Companion
Answer: Body of Lies
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Crucible" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Satellite Award for Best Adapted Screenplay" .   } UNION { ?e <pred:name> "Body of Lies" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Satellite Award for Best Adapted Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Crucible
function: And
dependencies: 1
2
function: Find
inputs: Body of Lies
function: SelectBetween
dependencies: 3
4
inputs: duration
greater