Question: Which work in writing was penned by the Philip Roth whom Leo Tolstoy influenced?
Choices:
Live and Let Die
Contact
The Human Stain
The Maltese Falcon
A Single Man
Cosmopolis
Along Came a Spider
The Painted Veil
The Hours
On Her Majesty's Secret Service
Answer: The Human Stain
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <author> ?e_1 . ?e_1 <pred:name> "Philip Roth" . ?e_1 <influenced_by> ?e_2 . ?e_2 <pred:name> "Leo Tolstoy" .   }
Program:
function: Find
inputs: Leo Tolstoy
function: Relate
dependencies: 0
inputs: influenced by
backward
function: Find
inputs: Philip Roth
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: author
backward
function: FilterConcept
dependencies: 4
inputs: written work
function: What
dependencies: 5