我们可以将限制定义为命名类吗?我的意思,而不是使用这样的:OWL中是否存在命名限制?
: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.
可以吗?
当您尝试会发生什么例子? –
我在Protege中创建了一个限制,我以turtle格式存储文件,我手动编辑了上面的例子,当我用Protege重新打开文件时,有一个名为“myclass”的类,在“注释“窗口。 – kwstas