Question: Does Indiana Jones and the Temple of Doom (whose director of photography is Douglas Slocombe) or The Island of Dr. Moreau (whose director is John Frankenheimer) have the longer runtime?
Choices: Rebecca
A Prairie Home Companion
Pleasantville
Talk to Her
The Towering Inferno
Indiana Jones and the Temple of Doom
Training Day
The Fifth Element
The Island of Dr. Moreau
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Indiana Jones and the Temple of Doom" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "Douglas Slocombe" .   } UNION { ?e <pred:name> "The Island of Dr. Moreau" . ?e <director> ?e_2 . ?e_2 <pred:name> "John Frankenheimer" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Douglas Slocombe
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: Indiana Jones and the Temple of Doom
function: And
dependencies: 1
2
function: Find
inputs: John Frankenheimer
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: The Island of Dr. Moreau
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Indiana Jones and the Temple of Doom