Inheritance and diffusion of language and culture: a comparative perspective