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