Question: Is The Purple Rose of Cairo or The Three Musketeers starring John Carradine shorter?
Choices: The Purple Rose of Cairo
Pleasantville
Curse of the Golden Flower
The Three Musketeers
Rebecca
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
Talk to Her
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Purple Rose of Cairo" .  } UNION { ?e <pred:name> "The Three Musketeers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Carradine" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Purple Rose of Cairo
function: Find
inputs: John Carradine
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: The Three Musketeers