Question: Which movie is longer, GoldenEye (the one that was nominated for MTV Movie Award for Best Fight) or The Ladykillers (the one whose distributor is Rank Organisation)?
Choices:
Talk to Her
Curse of the Golden Flower
Rebecca
A Prairie Home Companion
Pleasantville
GoldenEye
Training Day
The Ladykillers
The Hunchback of Notre Dame
The Fifth Element
Answer: GoldenEye
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "GoldenEye" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Movie Award for Best Fight" .   } UNION { ?e <pred:name> "The Ladykillers" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "Rank Organisation" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: MTV Movie Award for Best Fight
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: GoldenEye
function: And
dependencies: 1
2
function: Find
inputs: Rank Organisation
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: The Ladykillers
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater