which librettists have worked on operas with jake heggie?
Entity
m.02ppjj4
Leonard Foglia
class class entity
opera.librettist opera.opera m.05fr0d
opera.librettist opera.opera opera.librettist
Librettist Opera Jake Heggie
none none none
opera.librettist.libretti opera.opera.librettist
Opera libretti written Librettist
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :opera.librettist . 
?x1 :type.object.type :opera.opera . 
VALUES ?x2 { :m.05fr0d } 
?x0 :opera.librettist.libretti ?x1 . 
?x1 :opera.opera.librettist ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND opera.librettist (JOIN opera.librettist.libretti (JOIN opera.opera.librettist m.05fr0d)))