Question: What is the title of Sweeney Todd: The Demon Barber of Fleet Street (the one whose lyrics is written by Stephen Sondheim)?
Choices:
Sweeney Todd
Superman IV: The Quest for Peace
Dune
Fresno
Immortals
Showgirls
Babe
Hamlet, Prinz von Dänemark
The Godfather
Standing in the Shadows of Motown
Answer: Sweeney Todd
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Sweeney Todd: The Demon Barber of Fleet Street" . ?e <lyrics_by> ?e_1 . ?e_1 <pred:name> "Stephen Sondheim" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Stephen Sondheim
function: Relate
dependencies: 0
inputs: lyrics by
backward
function: Find
inputs: Sweeney Todd: The Demon Barber of Fleet Street
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title