Question: How is Snoop Dogg kin to Brandy Norwood?
Choices: daughter-in-law
male first cousin
half brother
cousin
grand uncle
female first cousin
adopted daughter
brother-in-law
husband's brother
aunt
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Snoop Dogg" . ?e_2 <pred:name> "Brandy Norwood" . ?e_1 <relative> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <relative> ; <pred:fact_t> ?e_2 ] <type_of_kinship> ?qpv .  }
Program:
function: Find
inputs: Snoop Dogg
function: Find
inputs: Brandy Norwood
function: QueryRelationQualifier
dependencies: 0
1
inputs: relative
type of kinship
Answer: cousin