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
286 stars 88 forks source link

Properly format xsd:anyURI label (CamelCase) #545

Closed JohannesLipp closed 2 years ago

JohannesLipp commented 2 years ago

Describe the bug Widocu's HTML output includes a label for the range of properties, which is formatted weirdly for xsd:anyURI. That is probably due to some CamelCase heuristic for splitting up words, which in the case of "URI" end up as individual characters. See the screenshot below.

To Reproduce Steps to reproduce the behavior:

  1. Have a property with range xsd:anyURI in your ontology.
  2. Inspect Widocu's generated HTML

Expected behavior Since xsd:anyURI is a widely-used range, I suggest to format it as anyURI instead of any u r i.

Screenshots image

Desktop (please complete the following information):

Additional context For an example, see https://gaia-x.gitlab.io/technical-committee/service-characteristics/widoco/core/core.html#http://w3id.org/gaia-x/service#standardReference

dgarijo commented 2 years ago

Yeah, this is something that has bothered me for some time as well. The easy way would be to do a regex and change the output from LODE.