Question: Which school is the education place of William James (the one that works as philosophy) ?
Choices: Italia Conti Academy of Theatre Arts
Royal Military Academy Sandhurst
Westminster School
Boston Latin School
Eton College
Harvard University
Harvard Business School
London Business School
Harvard Medical School
The Citadel, The Military College of South Carolina
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "school" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "William James" . ?e_1 <field_of_work> ?e_2 . ?e_2 <pred:name> "philosophy" .   }
Program:
function: Find
inputs: philosophy
function: Relate
dependencies: 0
inputs: field of work
backward
function: Find
inputs: William James
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: school
function: What
dependencies: 5
Answer: Harvard Medical School