who wrote my heart will go on?
Entity
m.0p59x
Will Jennings
class entity
music.songwriter m.03q8sx
music.songwriter film.film_song
Songwriter My Heart Will Go On
none none
music.lyricist.lyrics_written
Lyrics Written
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 :music.songwriter . 
VALUES ?x1 { :m.03q8sx } 
?x0 :music.lyricist.lyrics_written ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND music.songwriter (JOIN music.lyricist.lyrics_written m.03q8sx))