Representation Learning of Compositional Data