Question: Which is longer, Sherlock Holmes: A Game of Shadows or Grimsby written by Sacha Baron Cohen?
Choices: Curse of the Golden Flower
The Fifth Element
Sherlock Holmes: A Game of Shadows
Training Day
The Towering Inferno
Pleasantville
Grimsby
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sherlock Holmes: A Game of Shadows" .  } UNION { ?e <pred:name> "Grimsby" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Sacha Baron Cohen" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sherlock Holmes: A Game of Shadows
function: Find
inputs: Sacha Baron Cohen
function: Relate
dependencies: 1
inputs: screenwriter
backward
function: Find
inputs: Grimsby
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Sherlock Holmes: A Game of Shadows