Question: Is the running time longer on Luther, with Freddie Young as director of photography, or on Paris, distributed by Metro-Goldwyn-Mayer?
Choices:
Pleasantville
Luther
Curse of the Golden Flower
Training Day
Paris
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
Rebecca
The Towering Inferno
Answer: Luther
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Luther" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "Freddie Young" .   } UNION { ?e <pred:name> "Paris" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "Metro-Goldwyn-Mayer" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Freddie Young
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: Luther
function: And
dependencies: 1
2
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: Paris
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater