Question: What is the association between Hello, Dolly! (that has Louis Armstrong as a cast member) and Scatman Crothers?
Choices:
copyright holder
currency
chief executive officer
director/manager
narrator
diaspora
copyright representative
board member
child
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hello, Dolly!" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Louis Armstrong" . ?e_2 <pred:name> "Scatman Crothers" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Louis Armstrong
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hello, Dolly!
function: And
dependencies: 1
2
function: Find
inputs: Scatman Crothers
function: QueryRelation
dependencies: 3
4