Question: Which movie is shorter, Sayonara or Little Women (the one whose producer is Mervyn LeRoy)?
Choices:
Pleasantville
Talk to Her
A Prairie Home Companion
Little Women
The Hunchback of Notre Dame
Training Day
Sayonara
Curse of the Golden Flower
Rebecca
The Towering Inferno
Program:
function: Find
inputs: Sayonara
function: Find
inputs: Mervyn LeRoy
function: Relate
dependencies: 1
inputs: producer
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> "Sayonara" .  } UNION { ?e <pred:name> "Little Women" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Mervyn LeRoy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Little Women