classes a and b are defined as follows:

as you see both classes have the axiom :prop2 some rdfs:literal
I need to define class c based on a and b (e.g by using and , or, not) so that has this axiom as its definition.
Copyright © 2021 Jogjafile Inc.

You could define
casa and b- because the classprop2 some rdfs:Literalwill always belong to the intersection of the two classes.However it would be a lot more intuitive to declare
csubclass ofprop2 some rdfs:Literaland thenasubclass ofcandbsubclass ofc. Is there a reason that forces you to definecin terms ofaandband not the opposite?