Question: What is the connection between The Office (the one that is a notable work of Mindy Kaling) to Creed Bratton?
Choices:
director/manager
executive producer
separated from
basin country
original language of film or TV show
sponsor
owned by
model item
cast member
film release region
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Office" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> "Mindy Kaling" . ?e_2 <pred:name> "Creed Bratton" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mindy Kaling
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: The Office
function: And
dependencies: 1
2
function: Find
inputs: Creed Bratton
function: QueryRelation
dependencies: 3
4