Question: Which is longer, Dirty Pretty Things or The Hours that was nominated for a Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Leading Role?
Choices:
Pleasantville
Dirty Pretty Things
Training Day
The Hours
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
Talk to Her
Rebecca
Answer: The Hours
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dirty Pretty Things" .  } UNION { ?e <pred:name> "The Hours" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Leading Role" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dirty Pretty Things
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Leading Role
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: The Hours
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater