Question: Is the longer work Dead Man or Tripoli, with photography direction by James Wong Howe?
Choices:
Training Day
The Hunchback of Notre Dame
Curse of the Golden Flower
Talk to Her
The Fifth Element
Pleasantville
Dead Man
A Prairie Home Companion
The Towering Inferno
Tripoli
Program:
function: Find
inputs: Dead Man
function: Find
inputs: James Wong Howe
function: Relate
dependencies: 1
inputs: director of photography
backward
function: Find
inputs: Tripoli
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dead Man" .  } UNION { ?e <pred:name> "Tripoli" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "James Wong Howe" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dead Man