Can we define a restriction as a named class? I mean, instead of using this:
:myclass owl:equivalentClass
[ rdf:type owl:Restriction ;
owl:onProperty :hasAge ;
owl:cardinality "2"^^xsd:nonNegativeInteger ] .
to use this:
:myclass rdf:type owl:Restriction ;
owl:onProperty :hasAge ;
owl:cardinality "2"^^xsd:nonNegativeInteger.
Is that ok?