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