If you just need to represent RCC relations, then you can give each relation an IRI (31 relations in RCC5, 255 relations in RCC8) and use them.
If you are interested in reasoning, than it's more complicated. There's no straightforward solution that would allow for complete reasoning. Here's why. If you use object properties to encode base relations of RCC, which seems to be the natural way of doing it, then you won't be able to encode disjunctive relations, since OWL does not allow disjunctions of object properties. Using classes also has a drawback, because you won't be able to specify inverses.
A solution is proposed in this paper, which is to use OWL with rules (SWRL). This is a bit complicated though, because you need to run a special algorithm (described in the paper) to convert RCC-assertions into OWL axioms and SWRL rules.
"A disadvantage of this approach is the additional complexity induced by the process of reification, which causes the creation of n^2 instances of spatial
relations for n geographic objects. Thus, a reasoner that would be optimized for executing SWRL rules involving many instances would be required.
However, the interest of our proposal is twofold.
On the one hand, we have demonstrated the feasibility of the implementation based on OWL and SWRL, of a complete reasoning for calculating the composition table of the RCC8 relationships and its transitive closure."