Question: Tell me the person that influenced Henry James (the one that got influenced by Henrik Ibsen) and that was born Henrik Johan Ibsen.
Choices:
Paul Simon
David Byrne
Babyface
Henrik Ibsen
Simon Cowell
Sylvester Stallone
Rahul Dev Burman
Max Fleischer
William Henry Harrison
Richard Gere
Program:
function: Find
inputs: Henrik Ibsen
function: Relate
dependencies: 0
inputs: influenced by
backward
function: Find
inputs: Henry James
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: influenced by
forward
function: FilterConcept
dependencies: 4
inputs: human
function: FindAll
function: FilterStr
dependencies: 6
inputs: birth name
Henrik Johan Ibsen
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <influenced_by> ?e . ?e_1 <pred:name> "Henry James" . ?e_1 <influenced_by> ?e_2 . ?e_2 <pred:name> "Henrik Ibsen" .  ?e <birth_name> ?pv . ?pv <pred:value> "Henrik Johan Ibsen" .  }
Answer: Henrik Ibsen