Question: Is Cheyenne, featuring Arthur Kennedy as a cast member, or The Help, a National Society of Film Critics nominee for Best Supporting Actress, the shorter of the two?
Choices:
The Hunchback of Notre Dame
Talk to Her
Curse of the Golden Flower
The Fifth Element
Rebecca
Cheyenne
A Prairie Home Companion
The Towering Inferno
The Help
Training Day
Program:
function: Find
inputs: Arthur Kennedy
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Cheyenne
function: And
dependencies: 1
2
function: Find
inputs: National Society of Film Critics Award for Best Supporting Actress
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: The Help
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cheyenne" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Arthur Kennedy" .   } UNION { ?e <pred:name> "The Help" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "National Society of Film Critics Award for Best Supporting Actress" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cheyenne