Question: How is Savages, with lyrics by Stephen Schwartz, related to Alan Menken?
Choices:
home port
legislative body
has dialect (DEPRECATED)
source of income
sidekick of
located in the administrative territorial entity
after a work by
office held by head of government
location of discovery
composer
Program:
function: Find
inputs: Stephen Schwartz
function: Relate
dependencies: 0
inputs: lyrics by
backward
function: Find
inputs: Savages
function: And
dependencies: 1
2
function: Find
inputs: Alan Menken
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Savages" . ?e_1 <lyrics_by> ?e_3 . ?e_3 <pred:name> "Stephen Schwartz" . ?e_2 <pred:name> "Alan Menken" . ?e_1 ?p ?e_2 .  }
Answer: composer