SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/producer> <http://dbpedia.org/resource/Terry_Melcher> . ?x <http://dbpedia.org/ontology/composer> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Song>}
Who has composed songs produced by Terry Melcher?
SELECT DISTINCT ?h WHERE { ?b rdf:type ontology:Song . ?b property:producer resource:Terry_Melcher . ?b property:composer ?h }
Bob Dylan
[Bob Dylan] is the composer of the song produced by Terry Melcher.
[Bob Dylan] is an associate of a song produced by Terry Melcher.
The composer of the song whose producer is him is [Bob Dylan].
The song he's producing are composed by [Bob Dylan].