-
Notifications
You must be signed in to change notification settings - Fork 5
(ShEx → SVG, PNG,...) Convert a simple ShEx schema to a UML like visualization in SVG, PNG, ...
Jose Emilio Labra Gayo edited this page Aug 12, 2024
·
3 revisions
$ rudof convert -s examples/simple.shex -m shex -x uml -r svg -o target/simple.svg
... generates an SVG file in target/simple.svg
To generate PNG, replace svg
by png
.
$ rudof convert -s examples/simple.shex -m shex -x uml -r png -o target/simple.png
... generates an PNG file in target/simple.png
Generation of SVG or PNG images is based on PlantUML so you must download the command line JAR file. Once downloaded, set the environment variable PLANTML to point to that file.
PlantUML also requires java to be installed. You can check if you Java is already installed by running:
java -version
The minimum version needed by PlantUML is Java 8. If not installed, it can be downloaded from a Java website or through package managers.
- (RDF) Information about a node in RDF file
- (RDF) Merge several RDF data files
- (RDF/SPARQL) Information about a node in Wikidata
- (ShEx) Show info about a schema
- (ShEx) Validate a specific node with a shape
- (SHACL) Show info about a SHACL schema
- (SHACL) Read a SHACL Shapes graph and convert to some format
- (SHACL) Validating RDF data using SHACL
- (SPARQL) Running SPARQL queries
- (Python) Invoking this library from Python
- (SHACL → ShEx) Convert SHACL shapes graph to ShEx schema
- (ShEx → SVG/PNG/...) Convert a ShEx schema to an UML-like visualization in SVG, PNG, ...
- (ShEx → HTML) Convert ShEx schemas to HTML views
- (ShEx → SPARQL) Convert a simple ShEx schema to SPARQL
- (DCTap → ShEx) Convert a CSV file in DCTap to a ShEx schema
- (DCTap → SVG/PNG/...) Convert a CSV file in DCTap to an UML-like visualization in SVG, PNG, ...