Question: Which is shorter, Sucker Punch or Hamlet whose script was written by Kenneth Branagh?
Choices:
Hamlet
Pleasantville
The Fifth Element
Curse of the Golden Flower
Rebecca
Talk to Her
The Hunchback of Notre Dame
A Prairie Home Companion
Sucker Punch
The Towering Inferno
Program:
function: Find
inputs: Sucker Punch
function: Find
inputs: Kenneth Branagh
function: Relate
dependencies: 1
inputs: screenwriter
backward
function: Find
inputs: Hamlet
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sucker Punch" .  } UNION { ?e <pred:name> "Hamlet" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Kenneth Branagh" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sucker Punch