Question: What has a longer duration, The Fighter which was produced by Relativity Media or Bugsy?
Choices:
The Fifth Element
A Prairie Home Companion
The Fighter
Bugsy
The Hunchback of Notre Dame
Talk to Her
Rebecca
Curse of the Golden Flower
Training Day
Pleasantville
Program:
function: Find
inputs: Bugsy
function: Find
inputs: Relativity Media
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: The Fighter
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bugsy" .  } UNION { ?e <pred:name> "The Fighter" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Relativity Media" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bugsy