Question: Which is longer, True Grit (the one that was nominated for Academy Award for Best Sound Editing) or Winchester (the one whose distributor is StudioCanal)?
Choices:
The Fifth Element
True Grit
Training Day
Talk to Her
Pleasantville
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Winchester
Answer: True Grit
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "True Grit" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Sound Editing" .   } UNION { ?e <pred:name> "Winchester" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "StudioCanal" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Sound Editing
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: True Grit
function: And
dependencies: 1
2
function: Find
inputs: StudioCanal
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: Winchester
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater