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