Decode an Ontology OWL to be drawn in crowd using diagram UML/EER/ORM according to an encoding strategy.
- Give a Strategy for specifying the algorithm for decoding the OWL 2.
- Give a Builder for specifying the UML/EER/ORM json input format.
JSON Format
We expect the following fields:
classes : An Array of classes information. Each class should have:
attrs An array of strings representing all attributes names
methods An array of strings representing all attributes names
name A string which represent the name of the class.
- links : An array of links information. Each link should have:
classes : An array of strings with the name of the classes involved on the relationship.
multiplicity : An array of strings with the multiplicity on each class side.
name : A string with the name of the link.
type : A string with the type name of the link. Could be: "association", "generalization".
Example
2 {"attrs":[], "methods":[], "name": "Person"},
3 {"attrs":[], "methods":[], "name": "Cellphones"}],
5 {"classes": ["Person", "Cellphones"],
6 "multiplicity": ["1..1", "1..*"],
7 "name": "hasCellphone",