Question: What is the relationship between John Locke, the one who influenced John Rawls, and philosophy of mind?
Choices: home venue
interests
had as last meal
collection
uses
occupant
cause of death
destination point
signatory
employer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Locke" . ?e_3 <influenced_by> ?e_1 . ?e_3 <pred:name> "John Rawls" . ?e_2 <pred:name> "philosophy of mind" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Rawls
function: Relate
dependencies: 0
inputs: influenced by
forward
function: Find
inputs: John Locke
function: And
dependencies: 1
2
function: Find
inputs: philosophy of mind
function: QueryRelation
dependencies: 3
4
Answer: interests