Question: Which is longer in duration, Coming Home which was published in 2003 or Henry V, whose script was written by Kenneth Branagh?
Choices: Training Day
Pleasantville
A Prairie Home Companion
Coming Home
The Towering Inferno
The Fifth Element
Talk to Her
Henry V
Rebecca
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Coming Home" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 2003 . } UNION { ?e <pred:name> "Henry V" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Kenneth Branagh" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Coming Home
function: FilterYear
dependencies: 0
inputs: publication date
2003
=
function: Find
inputs: Kenneth Branagh
function: Relate
dependencies: 2
inputs: screenwriter
backward
function: Find
inputs: Henry V
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Henry V