Question: Which movie is longer, Pinocchio (the one that was nominated for Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel) or The Rainmaker (the one that has Matt Damon as a cast member)?
Choices: The Towering Inferno
Pinocchio
Curse of the Golden Flower
The Hunchback of Notre Dame
The Rainmaker
Talk to Her
Rebecca
A Prairie Home Companion
Pleasantville
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pinocchio" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel" .   } UNION { ?e <pred:name> "The Rainmaker" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Matt Damon" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Golden Raspberry Award for Worst Prequel, Remake, Rip-off or Sequel
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Pinocchio
function: And
dependencies: 1
2
function: Find
inputs: Matt Damon
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Rainmaker
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The Rainmaker