Question: Which movie is shorter, The Glenn Miller Story or Harry Potter and the Order of the Phoenix (the one whose distributor is Warner Bros.)?
Choices:
Training Day
Talk to Her
A Prairie Home Companion
Pleasantville
The Fifth Element
Curse of the Golden Flower
Harry Potter and the Order of the Phoenix
Rebecca
The Glenn Miller Story
The Hunchback of Notre Dame
Answer: The Glenn Miller Story
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Glenn Miller Story" .  } UNION { ?e <pred:name> "Harry Potter and the Order of the Phoenix" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Glenn Miller Story
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 1
inputs: distributor
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