Question: Is Lemony Snicket's A Series of Unfortunate Events starring Gilbert Gottfried or The Last Song longer?
Choices: A Prairie Home Companion
Talk to Her
The Towering Inferno
Training Day
Curse of the Golden Flower
Pleasantville
Lemony Snicket's A Series of Unfortunate Events
The Hunchback of Notre Dame
The Fifth Element
The Last Song
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lemony Snicket's A Series of Unfortunate Events" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Gilbert Gottfried" .   } UNION { ?e <pred:name> "The Last Song" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Gilbert Gottfried
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Lemony Snicket's A Series of Unfortunate Events
function: And
dependencies: 1
2
function: Find
inputs: The Last Song
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Lemony Snicket's A Series of Unfortunate Events