Parser for the draw.io shape library

115 views
Skip to first unread message

Richard Williamson

unread,
Apr 21, 2024, 1:49:33 PM4/21/24
to Records_in_C...@googlegroups.com
Hello again all,

You may recall that I brought to the list's attention some weeks ago a
library in draw.io (https://draw.io) for creating graphs expressing
Records in Contexts. Here is a link to that original thread:

https://groups.google.com/g/Records_in_Contexts_users/c/jvPTj01KmU0

And here is a reminder of the link to that library:

https://github.com/williamsonrichard/records_in_contexts_draw_io_shape_library?tab=readme-ov-file

My reason for writing is that I have now written a command line tool
to take the underlying XML of such a graph and parse it to formal OWL,
which can then be imported into Protégé, or otherwise worked with.
Thus it bridges a gap between the informal and the formal/technical,
which might be useful for various purposes. Here is the github
repository, see the README file for instructions on how to use it and
more.

https://github.com/williamsonrichard/records_in_contexts_draw_io_parser?tab=readme-ov-file

See in particular the 'examples' folder to see the OWL which is
produced in a couple of cases from a given graph, with or without
'preamble' (this is configurable).

I have tried to write instructions that somebody not familiar with
programming/running scripts can follow, but just let me know here or
over email if you have any trouble, and I'll be happy to help! As is
written in the README, feedback, bug reports, feature requests, etc,
are all very welcome!

As a final note, I think that I did not previously mention that my
colleague Trine Kruse a little while ago created a variation of the
shape library in which the entities are coloured according to the
colour scheme chosen by EGAD, which Florence gave the details of in
the earlier thread; this coloured version of the shape library is
available at the same link as above.

Best wishes,
Richard
Reply all
Reply to author
Forward
0 new messages