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