New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add skeletal definitions of SKOS and SHACL terms used in gist in order to achieve DL-compliance #934
Comments
need to remove this from the pre-commit hook:
This has now already been done - see issue #1010. |
I like the idea of adding skeletal definitions to be DL-compatible, but it's worth thinking more about where the defs should come from and what they should look like. As @marksem has pointed out, Protege automatically generates the following definitions for gist:
With these definitions added, gist does become DL-compatible. One worry though is that these automatically generated defs could go against the spirit of the definitions in the concepts' "home" ontologies. |
DECISION:
|
I wondered about this so I looked it up in the spec: https://www.w3.org/TR/owl2-syntax/#Annotations |
Thanks, @uscholdm -- glad you pointed this out. I had based my original comment on an older doc, which stated: "Annotation properties must not be used in property axioms. Thus, in OWL DL one cannot define subproperties or domain/range constraints for annotation properties." Looks like this sentiment must have shifted w/ OWL 2, as figure 23 clearly shows that it's possible to define domains and ranges for annotation properties (even if they won't figure into reasoning). Edit: Maybe there wasn't a shift in sentiment. Could be that they've always been allowed in OWL full, just not in DL? Anyways, suppose it's moot as you say. 🙂 |
Plus, they have no semantic weight since the reasoner doesn't run on annotation properties. Note: OWL 2 provides means to state several types of axioms about annotation properties, as shown in Figure 23. These statements are treated as axioms only in order to simplify the structural specification of OWL 2. I interpret this to mean (though it's just a hypothesis) that the structural specification is simplified by allowing the same axioms on annotation properties that are allowed on other OWL properties. |
It's true that the OWL spec says nothing about how the inference engines should behave in the presence of axioms using annotation properties. That is usually taken to mean that inference engines ignore them - but that does not follow. What it really means is that an inference engine MAY ignore annotation property axioms and still be in spec. In fact, some of the DL reasoners will draw the inferences you would expect -e.g. if you use an annotation property in a restriction. Pete Rivett pointed this out to me years ago. I was startled. |
I've forgotten why we made this decision, and it seems decidedly odd. Why are we willing to distribute an ontology that's not DL-compliant? Would it be better to eliminate the file? |
Note: the removal of the function from the pre-commit hook has been done as part of issue #1010. |
gist is not DL-compliant because it uses undeclared terms in the SHACL and SKOS namespaces. Add skeletal definitions (à la Protégé) to achieve DL compliance.
The text was updated successfully, but these errors were encountered: