Impact of popular content relational structure on joint caching and recommendation policies