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