It is also possible creating OCL expressions on UML2 Profiles. In this section you will create an OCL project at this level.
The model file framed with a red rectangle is the UML2 Profile. The model framed with the blue one, is the user model.
Now, the UML2 Profile can be used in the OCL Library. Referencing elements of the Profile can be done by typing "Profilename::ProfileElement", framed in red in the next image.