Question: How is author Robert Palmer related to musician?
Choices:
part of the series
member of sports team
member of
film crew member
shares border with
registered with
place of burial
influenced by
occupation
next higher rank
Program:
function: Find
inputs: author
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Robert Palmer
function: And
dependencies: 1
2
function: Find
inputs: musician
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Palmer" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "author" . ?e_2 <pred:name> "musician" . ?e_1 ?p ?e_2 .  }
Answer: occupation