Question: Which is longer, Beginners or The Dark Knight with a script written by Bill Finger?
Choices:
Talk to Her
The Dark Knight
Beginners
The Towering Inferno
Rebecca
The Fifth Element
Curse of the Golden Flower
Training Day
Pleasantville
The Hunchback of Notre Dame
Answer: The Dark Knight
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beginners" .  } UNION { ?e <pred:name> "The Dark Knight" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Bill Finger" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Beginners
function: Find
inputs: Bill Finger
function: Relate
dependencies: 1
inputs: screenwriter
backward
function: Find
inputs: The Dark Knight
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater