Graphical representation of RDF set similar to UML diagrams
rdfUmlDiagram.py is a python3 script which converts RDF files to PNG diagrams. These are similar to UML diagrams. There are both object diagrams and class diagrams available depending on the command line parameter.
The layout is done by Graphviz (http://www.graphviz.org/) which has to be installed (version>2.30)
The tool needs the following tools
- GraphViz (http://www.graphviz.org/)
- Python3 and the following Python3 libraries
- rdflib (https://github.com/RDFLib)
- pygraphviz (https://pygraphviz.github.io/)
You can install them via pip (take care to use )
apt-get install libgraphviz-dev
pip3 install rdflib pygraphviz
python3 rdfUmlDiagram.py test/test.trig
python3 rdfUmlDiagram.py test/cae_example1.ttl
python3 rdfUmlDiagram.py test/cae_meta.ttl
python3 rdfUmlDiagram.py test/rdftest.ttl