- From: Martin Hepp <mfhepp@gmail.com>
- Date: Wed, 24 Feb 2021 16:00:06 +0100
- To: Agnieszka Lawrynowicz <alawrynowicz@cs.put.poznan.pl>
- Cc: "semantic-web@w3.org" <semantic-web@w3.org>
Hi, I would likely start with Graphviz https://graphviz.readthedocs.io/en/stable/examples.html https://h1ros.github.io/posts/introduction-to-graphviz-in-jupyter-notebook/ and take the pain of traversing the RDF graph in order to generate the visual graph in order to control the layout etc. A good source is also http://etetoolkit.org/ This is an excellent Python framework for the analysis and visualization of trees. If the essence of your structures can me reduced to a tree, this might be a good way to go. It is not RDF-related, but turning the RDF graph into a proper form should be trivial. IMO, the challenge of visualizing RDF graphs is not very RDF specific but touches the general challenges of rendering such structures and to carefully choose the layout, filtering of aspects, etc. so that the result is a meaningful visual way of communicating the essential information. In contract, I found most "naive" RDF visualizations of very limited practical use. Hope that helps. Best wishes Martin Hepp > On 24. Feb 2021, at 12:41, Agnieszka Lawrynowicz <alawrynowicz@cs.put.poznan.pl> wrote: > > Dear All, > > What would you recommend to visualize RDF graphs (possibly containing OWL > and literals) by using a Python code in Jupyter notebooks? > > For instance, imagine a notebook that uses rdflib (and possibly owlready2) > to create triples (a knowledge graph in general), which later on one would > like to visualize from within the same notebook. > > Best Regards and cheers, > Agnieszka > > ----------------------------------- martin hepp http://www.heppnetz.de mfhepp@gmail.com
Received on Wednesday, 24 February 2021 15:00:22 UTC