Question: Which human wrote the lyrics of Hollywood (which has Madonna as a performer) and has an IPI name number of 00128246872?
Choices:
Rahul Dev Burman
Simon Cowell
James E. Reilly
Max Fleischer
Paul Simon
Babyface
Madonna
Sylvester Stallone
David Byrne
William Henry Harrison
Program:
function: Find
inputs: Madonna
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Hollywood
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: lyrics by
forward
function: FilterConcept
dependencies: 4
inputs: human
function: FindAll
function: FilterStr
dependencies: 6
inputs: IPI name number
00128246872
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <lyrics_by> ?e . ?e_1 <pred:name> "Hollywood" . ?e_1 <performer> ?e_2 . ?e_2 <pred:name> "Madonna" .  ?e <IPI_name_number> ?pv . ?pv <pred:value> "00128246872" .  }
Answer: Madonna