Question: How is the screenwriter Joe Jackson connected to talent manager?
Choices:
notable work
occupation
properties for this type
substitute/deputy/replacement of office/officeholder
discoverer or inventor
said to be the same as
depicts
programming paradigm
designed by
commissioned by
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Joe Jackson" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_2 <pred:name> "talent manager" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Joe Jackson
function: And
dependencies: 1
2
function: Find
inputs: talent manager
function: QueryRelation
dependencies: 3
4