Question: Which is longer, The Painted Veil (with Walter Brennan in the cast) or Calendar Girls?
Choices: Pleasantville
Curse of the Golden Flower
Talk to Her
Calendar Girls
The Towering Inferno
A Prairie Home Companion
The Hunchback of Notre Dame
The Painted Veil
The Fifth Element
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Calendar Girls" .  } UNION { ?e <pred:name> "The Painted Veil" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Walter Brennan" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Calendar Girls
function: Find
inputs: Walter Brennan
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Painted Veil
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Calendar Girls