However, all of these m references might not be appropriate to inherit.
the task here is to produce a ranked list of k references which A can inherit depending on the relevance of the reference with respect to the content of A.