Question: Which movie is longer, Lawrence of Arabia or The Mission (the one that was nominated for Golden Globe Award for Best Director)?
Choices: The Mission
Lawrence of Arabia
Training Day
Talk to Her
Rebecca
Pleasantville
The Fifth Element
The Towering Inferno
A Prairie Home Companion
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lawrence of Arabia" .  } UNION { ?e <pred:name> "The Mission" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Globe Award for Best Director" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lawrence of Arabia
function: Find
inputs: Golden Globe Award for Best Director
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: The Mission
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Lawrence of Arabia