Text this: The compositional structure of multipartite quantum entanglement