SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/musicComposer> <http://dbpedia.org/resource/Walter_Scharf> . ?x <http://dbpedia.org/property/artist> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Film>}
Who acted in the movies whose music is composed by Walter Scharf?
SELECT DISTINCT ?y WHERE { ?v property:music_composer resource:Walter_Scharf . ?v rdf:type ontology:Film . ?v property:artist ?y }
Elvis Presley
[Elvis Presley] is the artist of the film whose music is composed by Walter Scharf.
[Elvis Presley] is the author of the film, the music for which was written by Walter Fauf.