Widoco icon indicating copy to clipboard operation
Widoco copied to clipboard

Take modular ontologies as input and generate modular sections in HTML

Open coolharsh55 opened this issue 3 years ago • 0 comments

Currently, the WIDOCO input is taken as a single monolithic ontology. Instead, if the input ontology is modular i.e. segregated into separate files and either specified using owl:import or via input list to WIDOCO, it would be better for presentation to have an option to separate each of these "modules" within the WIDOCO output on the same page.

For example, for a given list of OWL files as wheels.owl, engines.owl, chasis.owl that are imported into a car.owl (or provided as a separate list e.g. WIDOCO GUI), the output HTML is structured in the following manner:

<<section id="concepts-car">
    <h2>Car Concepts</h2>
    <h3>Car - Classes</h3>
    <h3>Car - Properties</h3>
</section>

<section id="concepts-wheel">
    <h2>Wheel Concepts</h2>
    <h3>Wheel - Classes</h3>
    <h3>Wheel - Properties</h3>
</section>

<section id="concepts-engine">
    <h2>Engine Concepts</h2>
    <h3>Engine - Classes</h3>
    <h3>Engine - Properties</h3>
</section>

<section id="concepts-chasis">
    <h2>Chasis Concepts</h2>
    <h3>Chasis - Classes</h3>
    <h3>Chasis - Properties</h3>
</section>

Currently, to achieve such structuring, the output (HTML) has to be manually separated and organised from WIDOCO's output.

coolharsh55 avatar Sep 15 '22 12:09 coolharsh55