Question: Which movie is shorter, The Goodbye Girl (the one whose distributor is Warner Bros.) or Star Trek Ⅳ: The Voyage Home?
Choices:
Rebecca
The Goodbye Girl
A Prairie Home Companion
Training Day
The Fifth Element
The Hunchback of Notre Dame
Star Trek Ⅳ: The Voyage Home
Talk to Her
The Towering Inferno
Curse of the Golden Flower
Answer: The Goodbye Girl
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Goodbye Girl" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "Star Trek Ⅳ: The Voyage Home" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Goodbye Girl
function: And
dependencies: 1
2
function: Find
inputs: Star Trek Ⅳ: The Voyage Home
function: SelectBetween
dependencies: 3
4
inputs: duration
less