Question: What is the connection between John Milton (the one that has the occupation of writer) to poet?
Choices: parent club
diaspora
noble title
geographic distribution
killed by
occupation
diplomatic relation
feast day
educated at
notable people with this condition
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Milton" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "writer" . ?e_2 <pred:name> "poet" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: writer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Milton
function: And
dependencies: 1
2
function: Find
inputs: poet
function: QueryRelation
dependencies: 3
4
Answer: occupation