Question: How is Charles Darwin (the one that has the occupation of writer) related to writer ?
Choices:
dedicated to
derivative work
voice type
location of formation
after a work by
writing system
location
programming paradigm
participant of
occupation
Program:
function: Find
inputs: writer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Charles Darwin
function: And
dependencies: 1
2
function: Find
inputs: writer
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charles Darwin" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "writer" . ?e_2 <pred:name> "writer" . ?e_1 ?p ?e_2 .  }
Answer: occupation