Question: What is the relationship between Wayne Dyer (the one that has the occupation of actor) and writer?
Choices:
family
license
official religion
coextensive with
developer
set in period
occupation
domain of saint or deity
officeholder
parent club
Program:
function: Find
inputs: actor
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Wayne Dyer
function: And
dependencies: 1
2
function: Find
inputs: writer
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wayne Dyer" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?e_2 <pred:name> "writer" . ?e_1 ?p ?e_2 .  }
Answer: occupation