Question: How is Catch-22, a National Society of Film Critics Award nominee for Best Actor, related to Martin Balsam?
Choices:
Wikidata property
work location
narrator
connects with
place of publication
practiced by
used by
taxon rank
cast member
production company
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Catch-22" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "National Society of Film Critics Award for Best Actor" . ?e_2 <pred:name> "Martin Balsam" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: National Society of Film Critics Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Catch-22
function: And
dependencies: 1
2
function: Find
inputs: Martin Balsam
function: QueryRelation
dependencies: 3
4