Question: Which has a longer run-time, The Great Gatsby (featuring Bruce Dern in the cast) or Edge of Darkness (directed by Lewis Milestone)?
Choices:
A Prairie Home Companion
The Great Gatsby
Edge of Darkness
Pleasantville
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
Curse of the Golden Flower
The Fifth Element
Rebecca
Answer: The Great Gatsby
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Great Gatsby" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Bruce Dern" .   } UNION { ?e <pred:name> "Edge of Darkness" . ?e <director> ?e_2 . ?e_2 <pred:name> "Lewis Milestone" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bruce Dern
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Great Gatsby
function: And
dependencies: 1
2
function: Find
inputs: Lewis Milestone
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: Edge of Darkness
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater