Question: Which is longer, The Hangover, which had Warner Bros. as its production company, or The Guns of Navarone?
Choices:
Pleasantville
The Guns of Navarone
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
Rebecca
The Towering Inferno
Training Day
Curse of the Golden Flower
The Hangover
Answer: The Guns of Navarone
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hangover" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "The Guns of Navarone" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Hangover
function: And
dependencies: 1
2
function: Find
inputs: The Guns of Navarone
function: SelectBetween
dependencies: 3
4
inputs: duration
greater