Question: By which name is the IPI name number (00227073975) of a person who is the spouse of Courtney love, recorded in a database or mentioned as a work contributor ?
Choices:
MIGUEL DE CERVANTES SAAVEDRA
Walt Disney Studios Motion Pictures
GOFFIN CAROLE KING
Geffen Records
COBAIN KURT D
WILSON BRIAN
PENNIMAN RICHARD W
CAHN SAMMY
RCA Corp
YELLOW SUBMARINE
Answer: COBAIN KURT D
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Courtney Love" .  ?e <IPI_name_number> ?pv . ?pv <pred:value> "00227073975" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv .  }
Program:
function: Find
inputs: Courtney Love
function: Relate
dependencies: 0
inputs: spouse
forward
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttrQualifier
dependencies: 2
inputs: IPI name number
00227073975
named as