Question: Who is the cousin of the person with the pseudonym Snoop Doggy Dogg?
Choices:
David Byrne
James E. Reilly
Richard Gere
Brandy Norwood
Max Fleischer
Rahul Dev Burman
Ian Fleming
Olivia Newton-John
Simon Cowell
William Henry Harrison
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pseudonym
Snoop Doggy Dogg
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: relative
forward
function: QFilterStr
dependencies: 3
inputs: type of kinship
cousin
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_1 <relative> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <pseudonym> ?pv . ?pv <pred:value> "Snoop Doggy Dogg" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <relative> ; <pred:fact_t> ?e ] <type_of_kinship> ?qpv . ?qpv <pred:value> "cousin" .  }
Answer: Brandy Norwood