Question: What is the relationship between Tarzan (the one whose distributor is Walt Disney Studios Motion Pictures) and Wayne Knight?
Choices: indigenous to
director of photography
place of origin (Switzerland)
commander of
software engine
parent club
public holiday
voice actor
creator
student of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tarzan" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Walt Disney Studios Motion Pictures" . ?e_2 <pred:name> "Wayne Knight" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Tarzan
function: And
dependencies: 1
2
function: Find
inputs: Wayne Knight
function: QueryRelation
dependencies: 3
4
Answer: voice actor