Question: Tell me the person that has the family name Jackson (who has the Fabolous family name) and that is influenced by Charlie Chaplin.
Choices:
Max Fleischer
William Henry Harrison
Michael Jackson
Sylvester Stallone
David Byrne
Richard Gere
Fabolous
Federico Fellini
Joshua Jackson
Harold Lloyd
Program:
function: Find
inputs: Fabolous
function: Relate
dependencies: 0
inputs: family name
forward
function: Find
inputs: Jackson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: family name
backward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: Charlie Chaplin
function: Relate
dependencies: 6
inputs: influenced by
backward
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 <family_name> ?e_1 . ?e_1 <pred:name> "Jackson" . ?e_2 <family_name> ?e_1 . ?e_2 <pred:name> "Fabolous" .  ?e <influenced_by> ?e_3 . ?e_3 <pred:name> "Charlie Chaplin" .  }
Answer: Michael Jackson