Question: Does the longer run-time belong to Titanic, Academy Award nominee for Best Writing, Original Screenplay, or to Cadillac Records?
Choices:
The Hunchback of Notre Dame
Cadillac Records
Training Day
Curse of the Golden Flower
The Fifth Element
Rebecca
A Prairie Home Companion
The Towering Inferno
Titanic
Talk to Her
Answer: Cadillac Records
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Titanic" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Writing, Original Screenplay" .   } UNION { ?e <pred:name> "Cadillac Records" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Titanic
function: And
dependencies: 1
2
function: Find
inputs: Cadillac Records
function: SelectBetween
dependencies: 3
4
inputs: duration
greater