pyLODE icon indicating copy to clipboard operation
pyLODE copied to clipboard

Integrate the ontology diagram generator

Open edmondchuc opened this issue 5 years ago • 5 comments

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.

edmondchuc avatar Nov 27 '19 02:11 edmondchuc

On this topic of generating the diagram

  • this example in the readme has a neat diagram: https://raw.githack.com/agldwg/agrif-ont/master/agrif.html#overview . Do you know with which library it was generated ? The look and feel is great.

  • a great addition could be to make a link with interactive webvowl navigation, for example when the user clicks on the diagram. I opened a thread on webvowl to ask for help there: https://github.com/VisualDataWeb/WebVOWL/issues/169

smarie avatar Jun 04 '20 13:06 smarie

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.)

graybeal avatar Jun 04 '20 17:06 graybeal

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

smarie avatar Jun 05 '20 13:06 smarie

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.

charlesvardeman avatar Aug 29 '20 17:08 charlesvardeman

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.

smarie avatar Aug 29 '20 20:08 smarie