Question: What is the connection between Gertrude Stein (the one that has the occupation of playwright) to writer?
Choices: medical treatment
chief executive officer
airline hub
occupation
location of final assembly
natural product of taxon
located on terrain feature
student of
sibling
stated in
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gertrude Stein" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "playwright" . ?e_2 <pred:name> "writer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: playwright
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Gertrude Stein
function: And
dependencies: 1
2
function: Find
inputs: writer
function: QueryRelation
dependencies: 3
4
Answer: occupation