Question: Which was shorter, the Russian version of Earth or The Stepford Wives (distributed by Columbia Pictures)?
Choices:
Pleasantville
The Last of the Mohicans
A Prairie Home Companion
Earth
The Hunchback of Notre Dame
Hamlet
Little Women
Paris
The Stepford Wives
Rebecca
Program:
function: Find
inputs: Russian
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Earth
function: And
dependencies: 1
2
function: Find
inputs: Columbia Pictures
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: The Stepford Wives
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Earth" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "Russian" .   } UNION { ?e <pred:name> "The Stepford Wives" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "Columbia Pictures" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Earth