Question: Which movie is longer, The Proposition (the one that has Robert Loggia as a cast member) or Eastern Promises?
Choices:
Rebecca
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
Talk to Her
A Prairie Home Companion
Training Day
Eastern Promises
The Proposition
The Towering Inferno
Answer: The Proposition
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Proposition" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robert Loggia" .   } UNION { ?e <pred:name> "Eastern Promises" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Robert Loggia
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Proposition
function: And
dependencies: 1
2
function: Find
inputs: Eastern Promises
function: SelectBetween
dependencies: 3
4
inputs: duration
greater