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