Question: By which name is Frank Loeser . who wrote the lyrics for Guys and Dolls, and 00018339583 is his IPI name number, recorded in a database or mentioned as a work contributor ?
Choices:
FIELDS DOROTHY
SWIFT TAYLOR ALISON
BALLARD GLEN
HANDEL
WATERS GEORGE ROGER
LOESSER FRANK
GROHL DAVID
GREEN JOHN W
YOUNG NEIL
MERCER JOHNNY
Program:
function: Find
inputs: Frank Loesser
function: Relate
dependencies: 0
inputs: lyrics by
backward
function: Find
inputs: Guys and Dolls
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: lyrics by
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttrQualifier
dependencies: 5
inputs: IPI name number
00018339583
named as
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <lyrics_by> ?e . ?e_1 <pred:name> "Guys and Dolls" . ?e_1 <lyrics_by> ?e_2 . ?e_2 <pred:name> "Frank Loesser" .  ?e <IPI_name_number> ?pv . ?pv <pred:value> "00018339583" . [ <pred:fact_h> ?e ; <pred:fact_r> <IPI_name_number> ; <pred:fact_t> ?pv ] <named_as> ?qpv .  }
Answer: LOESSER FRANK