Question: Who is the person whose birth name is Friedrich Wilhelm Nietzsche and who was influenced by William Shakespeare who died in Stratford-upon-Avon?
Choices:
Alexander Pushkin
Richard Gere
Walt Whitman
Maya Angelou
Sylvester Stallone
Ray Bradbury
David Byrne
Fyodor Dostoyevsky
Friedrich Nietzsche
Max Fleischer
Answer: Friedrich Nietzsche
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <birth_name> ?pv . ?pv <pred:value> "Friedrich Wilhelm Nietzsche" . ?e <influenced_by> ?e_1 . ?e_1 <pred:name> "William Shakespeare" . ?e_1 <place_of_death> ?e_2 . ?e_2 <pred:name> "Stratford-upon-Avon" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: birth name
Friedrich Wilhelm Nietzsche
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Stratford-upon-Avon
function: Relate
dependencies: 3
inputs: place of death
backward
function: Find
inputs: William Shakespeare
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: influenced by
backward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 2
8
function: What
dependencies: 9