Compositional Approaches for Physics, NLP, and Social Sciences