Question: What is the connection between Catch-22 (the one whose genre is film based on literature) to Bob Newhart?
Choices:
movement
draft pick from school
coextensive with
field of work
registered with
copyright holder
cast member
appointed by
main subject
superhuman feature or ability
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Catch-22" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "film based on literature" . ?e_2 <pred:name> "Bob Newhart" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Catch-22
function: And
dependencies: 1
2
function: Find
inputs: Bob Newhart
function: QueryRelation
dependencies: 3
4