Question: How is Randy Newman kin to David Newman, composer of Hoffa?
Choices:
adoptive parent
husband's brother
grandfather
daughter-in-law
sister's husband
male first cousin
uncle
granddaughter
grandson
brother-in-law
Program:
function: Find
inputs: Randy Newman
function: Find
inputs: Hoffa
function: Relate
dependencies: 1
inputs: composer
forward
function: Find
inputs: David Newman
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: relative
type of kinship
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Randy Newman" . ?e_2 <pred:name> "David Newman" . ?e_3 <composer> ?e_2 . ?e_3 <pred:name> "Hoffa" . ?e_1 <relative> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <relative> ; <pred:fact_t> ?e_2 ] <type_of_kinship> ?qpv .  }
Answer: male first cousin