我们可以将限制定义为命名类吗?我的意思是,而不是使用这个:
:myclass owl:equivalentClass
[ rdf:type owl:Restriction ;
owl:onProperty :hasAge ;
owl:cardinality "2"^^xsd:nonNegativeInteger ] .
使用这个:
:myclass rdf:type owl:Restriction ;
owl:onProperty :hasAge ;
owl:cardinality "2"^^xsd:nonNegativeInteger.
那样行吗?