Question: Which movie is shorter, Rocky V or The Rainmaker (the one that has Edith Head as a costume designer)?
Choices: Rocky V
Rebecca
The Hunchback of Notre Dame
Talk to Her
Training Day
The Towering Inferno
Pleasantville
A Prairie Home Companion
The Fifth Element
The Rainmaker
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rocky V" .  } UNION { ?e <pred:name> "The Rainmaker" . ?e <costume_designer> ?e_1 . ?e_1 <pred:name> "Edith Head" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rocky V
function: Find
inputs: Edith Head
function: Relate
dependencies: 1
inputs: costume designer
backward
function: Find
inputs: The Rainmaker
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Rocky V