What is the {opera} for {lyrics by} of {Philip Glass}
Philip Glass wrote the lyrics for what opera?
Which is the opera the lyrics of which were by Philip Glass?
SELECT DISTINCT ?i WHERE { ?i property:lyrics_by resource:Philip_Glass . ?i rdf:type ontology:opera }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P676> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q189729> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1344> } 
 select distinct ?sbj where { ?sbj wdt:P676 wd:Q189729 . ?sbj wdt:P31 wd:Q1344 } 
Akhnaten Satyagraha La Belle et la Bête Les Enfants terribles Orphée