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