Question: Who wrote the lyrics to the musical titled Chicago?
Choices:
Fred Ebb
Tim Rice
Sylvester Stallone
Mel Brooks
Larry Hagman
Frank Loesser
Greta Scacchi
Howard Ashman
Max Fleischer
Stephen Sondheim
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Chicago
function: FilterConcept
dependencies: 1
inputs: musical
function: Relate
dependencies: 2
inputs: lyrics by
forward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <lyrics_by> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "musical" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> "Chicago" .   }
Answer: Fred Ebb