Question: Does Rabindranath Tagore (whose director is Satyajit Ray) or There Will Be Blood have the shorter running time?
Choices:
A Prairie Home Companion
There Will Be Blood
Rebecca
Training Day
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
Rabindranath Tagore
Talk to Her
Program:
function: Find
inputs: Satyajit Ray
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Rabindranath Tagore
function: And
dependencies: 1
2
function: Find
inputs: There Will Be Blood
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rabindranath Tagore" . ?e <director> ?e_1 . ?e_1 <pred:name> "Satyajit Ray" .   } UNION { ?e <pred:name> "There Will Be Blood" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rabindranath Tagore