Question: Which one, Pina or Angel (the one whose distributor is Paramount Pictures), has less duration?
Choices:
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
Angel
Rebecca
Talk to Her
The Fifth Element
Pina
Pleasantville
Training Day
Program:
function: Find
inputs: Pina
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: Angel
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pina" .  } UNION { ?e <pred:name> "Angel" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Angel