Question: What is the connection between Clive Barker (the one that has the occupation of playwright) to playwright?
Choices:
founded by
honorific suffix
illustrator
author
lyrics by
occupation
has effect
geographic distribution
inspired by
country of citizenship
Program:
function: Find
inputs: playwright
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Clive Barker
function: And
dependencies: 1
2
function: Find
inputs: playwright
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Clive Barker" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "playwright" . ?e_2 <pred:name> "playwright" . ?e_1 ?p ?e_2 .  }
Answer: occupation