Question: What is the relationship between Marilyn Monroe (the one that is a cast member of All About Eve) to actor?
Choices:
allegiance
affiliation
foundational text
location of final assembly
capital of
employer
cast member
costume designer
film release region
occupation
Program:
function: Find
inputs: All About Eve
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Marilyn Monroe
function: And
dependencies: 1
2
function: Find
inputs: actor
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Marilyn Monroe" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "All About Eve" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Answer: occupation