Question: Does the longer run-time belong to Death on the Nile, a Golden Globe nominee for Best Foreign Language Film, or to Black Sabbath, distributed by Warner Bros.?
Choices: The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
Pleasantville
Talk to Her
Rebecca
Death on the Nile
The Fifth Element
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Death on the Nile" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Globe Award for Best Foreign Language Film" .   } UNION { ?e <pred:name> "Black Sabbath" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "Warner Bros." .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Golden Globe Award for Best Foreign Language Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Death on the Nile
function: And
dependencies: 1
2
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: Black Sabbath
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Death on the Nile