Question: Which one takes longer, The Deer Hunter or The Lady (directed by Frank Borzage) ?
Choices:
A Prairie Home Companion
Pleasantville
Training Day
Curse of the Golden Flower
The Towering Inferno
Talk to Her
The Fifth Element
Rebecca
The Deer Hunter
The Lady
Program:
function: Find
inputs: The Deer Hunter
function: Find
inputs: Frank Borzage
function: Relate
dependencies: 1
inputs: director
backward
function: Find
inputs: The Lady
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Deer Hunter" .  } UNION { ?e <pred:name> "The Lady" . ?e <director> ?e_1 . ?e_1 <pred:name> "Frank Borzage" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Deer Hunter