Question: Which movie is shorter, Dick Tracy (the one that has Madonna as a cast member) or Sophie's Choice?
Choices:
Pleasantville
The Fifth Element
Talk to Her
Curse of the Golden Flower
Sophie's Choice
The Towering Inferno
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Dick Tracy
Answer: Dick Tracy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dick Tracy" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Madonna" .   } UNION { ?e <pred:name> "Sophie's Choice" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Madonna
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Dick Tracy
function: And
dependencies: 1
2
function: Find
inputs: Sophie's Choice
function: SelectBetween
dependencies: 3
4
inputs: duration
less