Question: How is Chris Carter, employed as a composer, related to composer?
Choices: contributing factor of
derivative work
health specialty
source of material
founded by
head of government
programming language
occupation
film distribute region
diaspora
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chris Carter" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "composer" . ?e_2 <pred:name> "composer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: composer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Chris Carter
function: And
dependencies: 1
2
function: Find
inputs: composer
function: QueryRelation
dependencies: 3
4
Answer: occupation