Question: Tel me the one with a smaller duraton, Jarhead or That's My Boy (that one distributed by Paramount Pictures)
Choices:
The Fifth Element
Training Day
That's My Boy
Curse of the Golden Flower
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Talk to Her
Jarhead
Pleasantville
Answer: That's My Boy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jarhead" .  } UNION { ?e <pred:name> "That's My Boy" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jarhead
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: That's My Boy
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less