Question: Which movie is shorter, Ferris Bueller's Day Off or Harry Potter and the Order of the Phoenix (the one whose production company is Warner Bros.)?
Choices:
The Hunchback of Notre Dame
Ferris Bueller's Day Off
Talk to Her
A Prairie Home Companion
Training Day
Curse of the Golden Flower
The Towering Inferno
Rebecca
The Fifth Element
Pleasantville
Answer: Ferris Bueller's Day Off
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ferris Bueller's Day Off" .  } UNION { ?e <pred:name> "Harry Potter and the Order of the Phoenix" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ferris Bueller's Day Off
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Harry Potter and the Order of the Phoenix
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less