Question: Who is the person John Fortnite Kennedy is related to?
Choices:
Snoop Dogg
Freddie Young
Max Fleischer
Dionne Warwick
James Stewart
Stephen Sondheim
Priyanka Chopra Jonas
Arthur Miller
Sylvester Stallone
Robert F. Kennedy
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: birth name
John Fortnite Kennedy
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: relative
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <relative> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "John Fortnite Kennedy" .   }
Answer: Robert F. Kennedy