The use cases that can occur (in case of associations) are broken down into different classes that implement the IConnectorNormalisationCase. The use cases can be found in the folder lib/connector-normalisation-cases.
2. New output format
It was discussed to migrate to a single schema output file (no distinction between vocabulary and application profile anymore at the level of the converter). New properties (apLabel, vocLabel, ...) have been introduced and integrated into the output of the converter.
All URIs starting with http://example.org have been removed and replaced by the URIs that will be created for the "OSLO JSON-LD" implementation model.
rdf:Statements also have been removed since the prescribed semantics were wrongly used in the output. Therefore, a new array referencedEntities was introduced which contains entities that are referred by entities that are on the target diagram, but not themselves. This is purely for debugging purposes, because on the RDF level, there is one graph containing all the entities and no distinction anymore.
3. A new tag has been introduced: ignoreImplicitGeneration
This tag should be used when working with association classes that has real association relations between two classes. If this property is not set, the converter will virtually create these associations. If it is set, the converters does not generate this virtual relations, but it is expected from the editor that he created these associations on the diagram.
4. Cleanup of utils functions
A lot of the util functions were not used anymore, but still present in the code. They now have been removed.
The PR includes the following changes:
1. Connector normalisation
The use cases that can occur (in case of associations) are broken down into different classes that implement the
IConnectorNormalisationCase
. The use cases can be found in the folderlib/connector-normalisation-cases
.2. New output format
It was discussed to migrate to a single schema output file (no distinction between vocabulary and application profile anymore at the level of the converter). New properties (apLabel, vocLabel, ...) have been introduced and integrated into the output of the converter.
All URIs starting with
http://example.org
have been removed and replaced by the URIs that will be created for the "OSLO JSON-LD" implementation model.rdf:Statement
s also have been removed since the prescribed semantics were wrongly used in the output. Therefore, a new arrayreferencedEntities
was introduced which contains entities that are referred by entities that are on the target diagram, but not themselves. This is purely for debugging purposes, because on the RDF level, there is one graph containing all the entities and no distinction anymore.3. A new tag has been introduced:
ignoreImplicitGeneration
This tag should be used when working with association classes that has real association relations between two classes. If this property is not set, the converter will virtually create these associations. If it is set, the converters does not generate this virtual relations, but it is expected from the editor that he created these associations on the diagram.
4. Cleanup of utils functions
A lot of the util functions were not used anymore, but still present in the code. They now have been removed.