RDFLib / pyLODE

An OWL ontology documentation tool using Python and templating, based on LODE
BSD 3-Clause "New" or "Revised" License
162 stars 70 forks source link

Integrate the ontology diagram generator #37

Open edmondchuc opened 4 years ago

edmondchuc commented 4 years ago

Integrate the ontology diagram generator into pylode.

Repository: https://github.com/edmondchuc/ontology_diagram_generator

Proposal: An additional optional argument can be passed into the pylode command-line application to automatically generate a PlantUML-based class diagram of the ontology.

smarie commented 4 years ago

On this topic of generating the diagram

graybeal commented 4 years ago

Something to keep in mind with respect to this request is that pyLODE may be used on ontologies of all sizes. before deciding which ontology generator to use it may be worth looking at how well it handles large ontologies. (I know that's not very concretely helpful but I wanted to note the consideration at least.)

smarie commented 4 years ago

For reference, Here is an illustration of the Webvowl approach: https://doc.realestatecore.io/3.1.3/core.html

charlesvardeman commented 3 years ago

The ontology diagram at https://raw.githack.com/agldwg/agrif-ont/master/agrif.html#overview looks like it was generated by CMap. Once upon a time, there was a CMap Ontology Edition (COE) but I don't think that is alive any longer. The source for the Webvowl approach is in the https://github.com/RealEstateCore/doc repository. Here is the script that does the processing to generate the Webvowl visualization.

smarie commented 3 years ago

yes @charlesvardeman for our project I made a variant of the script you mention, it works perfectly. Note however that it requires that owl2vowl.jar (and therefore a local JVM) and the whole webvowl skeleton folder to be present. So this is maybe not something that you would like to embed into pyLODE, rather some recipe that you might wish to explain in the doc.