Question: How is Bruce Campbell (the one that is a cast member of Congo) related to actor ?
Choices:
narrator
contains settlement
manner of death
practiced by
culture
occupation
licensed to broadcast to
start point
does not have part
league
Program:
function: Find
inputs: Congo
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Bruce Campbell
function: And
dependencies: 1
2
function: Find
inputs: actor
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bruce Campbell" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "Congo" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Answer: occupation