dgarijo / Widoco

Wizard for documenting ontologies. WIDOCO is a step by step generator of HTML templates with the documentation of your ontology. It uses the LODE environment to create part of the template.
Apache License 2.0
275 stars 85 forks source link

fix(extraction): Do not force lower-case if URI do not have label #686

Closed Murloc6 closed 3 months ago

Murloc6 commented 3 months ago

In the case the URI do not have any label, a generic one is generated regarding the URI fragment. It was forced to lower case, which leads to a miscomprehension for class label. It is commonly accepted that classes label starts with a uppercase letter.

For example:

:MyClass a owl:Class;
         owl:equivalentClass schema:Person.

leaded to a result in the doc like: "MyClass is equivalent to person" When we want : "MyClass is equivalent to Person"

dgarijo commented 3 months ago

Thanks, this makes sense to me