Controlling generative models using structured graph representations that encode relationships between entities.