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