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