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