Question: Is "Attack the Block" or "Cape Fear," directed by Martin Scorsese, longer?
Choices:
Pleasantville
A Prairie Home Companion
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
The Fifth Element
Cape Fear
Attack the Block
Talk to Her
Training Day
Answer: Cape Fear
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Attack the Block" .  } UNION { ?e <pred:name> "Cape Fear" . ?e <director> ?e_1 . ?e_1 <pred:name> "Martin Scorsese" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Attack the Block
function: Find
inputs: Martin Scorsese
function: Relate
dependencies: 1
inputs: director
backward
function: Find
inputs: Cape Fear
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater