-
Notifications
You must be signed in to change notification settings - Fork 103
Description
Is your feature request related to a problem? Please describe.
I'm working with an ontology that makes extensive use of property restrictions like the following:
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="https://ontology.commonapproach.org/cids#forStakeholder"/>
<owl:allValuesFrom rdf:resource="https://ontology.commonapproach.org/cids#Stakeholder"/>
</owl:Restriction>
</rdfs:subClassOf>
When I render HTML documentation for this ontology using Widoco, it seems to ignore these property restrictions, whereas I would hope to see them represented as part of the Class definition to which these property restrictions apply.
Describe the solution you'd like
Is there a way to have Widoco include these types of property restrictions in the rendered HTML?
Describe alternatives you've considered
In my initial exploration of Widoco, I had thought there was a table rendered with property restrictions on classes, but I've explored the various configuration options and parameters since, and can't seem to find a combination that does so.
Beyond that, I'm considering some sort of preprocessor that would extract the property restrictions and inject them into the rdfs:comment for the class, so that Widoco will render them as part of the class description. However, this seems non-trivial and somewhat inelegant, leading me to think it may be better to patch Widoco (although I'm not a java programmer)- unless this functionality already exists and I'm just not using it properly!