Learning the Mediator Patterna