Question: Does X-Men Origins: Wolverine, executive produced by Richard Donner, or Talladega Nights: The Ballad of Ricky Bobby have the longer running time?
Choices:
Talladega Nights: The Ballad of Ricky Bobby
X-Men Origins: Wolverine
A Prairie Home Companion
Talk to Her
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Training Day
The Hunchback of Notre Dame
Pleasantville
Program:
function: Find
inputs: Richard Donner
function: Relate
dependencies: 0
inputs: executive producer
backward
function: Find
inputs: X-Men Origins: Wolverine
function: And
dependencies: 1
2
function: Find
inputs: Talladega Nights: The Ballad of Ricky Bobby
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "X-Men Origins: Wolverine" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Richard Donner" .   } UNION { ?e <pred:name> "Talladega Nights: The Ballad of Ricky Bobby" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Talladega Nights: The Ballad of Ricky Bobby