Question: What kind of kinship is shared between the relatives Randy Newman and Thomas Newman?
Choices:
adopted daughter
grandfather
cousin
father-in-law
sister-in-law
sister's husband
daughter-in-law
male first cousin
adoptive parent
husband's brother
Answer: male first cousin
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Thomas Newman" . ?e_2 <pred:name> "Randy Newman" . ?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: Thomas Newman
function: Find
inputs: Randy Newman
function: QueryRelationQualifier
dependencies: 0
1
inputs: relative
type of kinship