Question: What is the connection between Wyoming (the one whose distributor is Metro-Goldwyn-Mayer) to Wallace Beery?
Choices:
performer
quotes work
cast member
participant
sidekick of
newspaper format
partner
relative
position played on team / speciality
employer
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Wyoming
function: And
dependencies: 1
2
function: Find
inputs: Wallace Beery
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wyoming" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Metro-Goldwyn-Mayer" . ?e_2 <pred:name> "Wallace Beery" . ?e_1 ?p ?e_2 .  }
Answer: cast member