Skip to content

plt-tud/rdf-uml-diagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rdf-uml-diagram

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)

DOI

Dependencies

The tool needs the following tools

You can install them via pip (take care to use )

apt-get install libgraphviz-dev
pip3 install rdflib pygraphviz

Examples

python3 rdfUmlDiagram.py test/test.trig

Sample1

python3 rdfUmlDiagram.py test/cae_example1.ttl

Sample2

python3 rdfUmlDiagram.py test/cae_meta.ttl

Sample3

python3 rdfUmlDiagram.py test/rdftest.ttl

Sample4

About

Graphical representation of RDF set similar to UML diagrams

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages