Question: Who has a notable work titled War and Peace, which originated from the Russian Empire?
Choices:
Meg Ryan
Kim Ki-duk
Leo Tolstoy
Sylvester Stallone
William Henry Harrison
Craig Armstrong
Rahul Dev Burman
David Byrne
Richard Gere
Simon Cowell
Program:
function: Find
inputs: Russian Empire
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: War and Peace
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: notable work
backward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <notable_work> ?e_1 . ?e_1 <pred:name> "War and Peace" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "Russian Empire" .   }
Answer: Leo Tolstoy