Question: Is the shorter work The Human Stain, originally in English, or The End of the Affair, with Van Johnson as a cast member?
Choices:
The Towering Inferno
Pleasantville
Training Day
The Human Stain
A Prairie Home Companion
Talk to Her
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
The End of the Affair
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: The Human Stain
function: And
dependencies: 1
2
function: Find
inputs: Van Johnson
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The End of the Affair
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Human Stain" . ?e <original_language_of_film_or_TV_show> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "The End of the Affair" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Van Johnson" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Human Stain