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