spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

Ontology should not redefine standard OWL and RDFS properties

Open rivettp opened this issue 4 years ago • 2 comments

There is no need to redefine the standard elements rdfs:comment, owl:deprecatedClass, owl:deprecatedProperty, owl:qualifiedCardinality - and in fact, the way it's done can cause problems in applications importing spdx along with other ontologies: specifically my company had a fairly hard to track down reasoning problem caused by the redefinition of rdfs:comment.

Further, OWL does not even have owl:deprecatedClass, owl:deprecatedProperty - it has the property owl:deprcated and the classes owl:DeprecatedClass, owl:DeprecatedProperty (notice capital D).

rivettp avatar Aug 31 '21 01:08 rivettp

I don't believe there was an intent to redefine any of these terms. This is likely an error in the OWL file which include references to those terms.

@rivettp Could you create a pull request which corrects these errors for review?

goneall avatar Aug 31 '21 06:08 goneall

Since resolving this would break some of the SPDX 2.X tooling, I'm moving this issue to 3.0.

goneall avatar Jun 13 '22 21:06 goneall

This is now resolved with the 3.0 release - we've basically moved to SHACL for validation.

goneall avatar Apr 04 '24 16:04 goneall