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