Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add convert to Mermaid #13

Open
kvistgaard opened this issue Aug 4, 2023 · 6 comments
Open

Add convert to Mermaid #13

kvistgaard opened this issue Aug 4, 2023 · 6 comments

Comments

@kvistgaard
Copy link

It will be great to add the possibility of converting to Mermaid.

Maybe CRITERIA can be reused.

@RinkeHoekstra
Copy link
Collaborator

That's a brilliant idea!

However, CRITERIA is a Python package, so we'll have to look elsewhere. Open to suggestions!

@lloyd-jackman-thomsonreuters

+1 for this idea as I am currently having to keep my TTL and mermaid diagrams in synch manually

@RinkeHoekstra
Copy link
Collaborator

Any thoughts on which Mermaid visualisation you'd like to see? Class diagrams or ER diagrams?

@lloyd-jackman-thomsonreuters
Copy link

@RinkeHoekstra
Copy link
Collaborator

The problem with class-diagrams or ER-diagrams is that they are class-based, not instance-based.

We can do one of the following:

  • Only represent RDFS and/or OWL information from the graph as Mermaid diagram (this may be very disappointing for graphs without schema)
  • Guess RDFS class information from the graph to create Mermaid diagrams (this may turn ugly when nodes have multiple types).
  • Abuse the Mermaid notation for instance information (e.g. every URI Resource is a Mermaid Class)

Don't think there's a solution that's both elegant and satisfying

@lloyd-jackman-thomsonreuters
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants