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
295 stars 89 forks source link

widoco:introduction not working #658

Closed psiotwo closed 11 months ago

psiotwo commented 11 months ago

Describe the bug Having specified :o a owl:Ontology; widoco:introduction "Introduction"@en does not generate the introduction section:

java -jar widoco.jar -ontFile test_semantic_asset.ont.ttl -outFolder outx -getOntologyMetadata -noPlaceHolderText -includeAnnotationProperties

Using Widoco 1.4.20.

vChavezB commented 11 months ago

I did a quick test and think this happens if the option -noPlaceHolderText is included.

In specific here

https://github.com/dgarijo/Widoco/blob/f69aa067687035b8da15ea8c34e3e78fdde3c4c7/src/main/java/widoco/gui/GuiController.java#L250-L254

dgarijo commented 11 months ago

This should affect also the description and abstract then. I will add exceptions if these metadata properties appear in the ontology itself.