With regard to the substances or components that make up something and their relative proportions.
The two rock samples are compositionally similar despite their different colours.
With regard to the arrangement and organization of elements in a work of art, music, or writing.
The painting is compositionally balanced, with the figures grouped around a central tree.
In a way that determines the meaning of a complex expression from the meanings of its constituent parts and the rules used to combine them.Linguistique
The meaning of the sentence can be derived compositionally from the meanings of its words and their syntactic structure.