Skip to content
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

In the Classes section, has super-classes block, display also restrictions. #728

Open
larswik opened this issue Sep 24, 2024 · 0 comments
Open

Comments

@larswik
Copy link

larswik commented Sep 24, 2024

Is your feature request related to a problem? Please describe.
In many cases, properties are not unique to a single class, i.e. no rdfs:domain is specified. There might however be a necessary condition ( rdfs:subClassOf [ rdf:type owl:Restriction...]), e.g. myProperty min 1 which would be nice to see in the auto generated documentation. Since these are not listed, I feel that important parts of the ontology are left out.

Describe the solution you'd like
If there are rdfs:subClassOf statements that refers to nodes that are owl:Restriction, these statements could be listed in the has super-classes block in the Classes documentation. Best/clearest would be to use Manchester syntax, e.g. myProperty min 1.

Describe alternatives you've considered
Maybe list rdfs:subClassOf [ rdf:type owl:Restriction...] in a separate block?

Additional context
Example from Protege where only "Feature" currently will be listed under has super-classes.
Protege:
image
WIDOCO:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant