Question: What is the connection between The Painted Veil (the one whose color is black-and-white) to Walter Brennan?
Choices:
cast member
next lower rank
appointed by
narrator
start point
takes place in fictional universe
mountain range
works in collection
student
kit supplier
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Painted Veil" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "Walter Brennan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: The Painted Veil
function: And
dependencies: 1
2
function: Find
inputs: Walter Brennan
function: QueryRelation
dependencies: 3
4