Question: Which play has the human librettist whose native language name is Stephen Sondheim?
Choices:
Oklahoma!
South Pacific
Chicago
A Midsummer Night's Dream
The King and I
Sweeney Todd: The Demon Barber of Fleet Street
Aladdin
Beauty and the Beast
Who's Afraid of Virginia Woolf?
The Producers
Answer: Sweeney Todd: The Demon Barber of Fleet Street
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "play" . ?e <librettist> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "Stephen Sondheim" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Stephen Sondheim
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: librettist
backward
function: FilterConcept
dependencies: 3
inputs: play
function: What
dependencies: 4