Question: What is the relationship between M*A*S*H and Michael Lerner (the one that has the occupation of actor)?
Choices:
main food source
depicts
narrator
game mode
place of origin (Switzerland)
territory claimed by
cast member
narrative location
partner
operating system
Program:
function: Find
inputs: M*A*S*H
function: Find
inputs: actor
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Michael Lerner
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "M*A*S*H" . ?e_2 <pred:name> "Michael Lerner" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Answer: cast member