Question: Was Laurence Olivier's Richard III or Cave of Forgotten Dreams shorter in length?
Choices:
The Fifth Element
Training Day
A Prairie Home Companion
Cave of Forgotten Dreams
Talk to Her
Rebecca
Richard III
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Program:
function: Find
inputs: Cave of Forgotten Dreams
function: Find
inputs: Laurence Olivier
function: Relate
dependencies: 1
inputs: screenwriter
backward
function: Find
inputs: Richard III
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cave of Forgotten Dreams" .  } UNION { ?e <pred:name> "Richard III" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Laurence Olivier" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cave of Forgotten Dreams