Open Sveino opened 3 weeks ago
Indeed the preference would be option 2. I had the impression that we started formulating this in the JSON-LD context that will somehow be a thing that is referenced and not directly included in each of the instances.
@Sveino Whatever you decide about representing Models, you should use the same ontology terms in CIM XML and JSONLD. Otherwise you'll make it more impossible to use standard RDF tools, and will create confusion. You cannot be "DCAT compliant" in one representation, but "not compliant" in another.
In general I am all for ontology reuse, but not in this case:
rdfg:Graph
) that we should useJSON-LD context that will somehow be a thing that is referenced and not directly included in each of the instances.
Yes, the ontologies currently have
@context: https://rawgit2.com/Sveino/Inst4CIM-KG/develop/rdfs-improved/CIM-ontology-context.jsonld
and I'll do the same for instance data (it will be in https://rawgit2.com/Sveino/Inst4CIM-KG/develop/rdf-improved/CIM-context.jsonld)
It is important that we do not get circular discussion and issue dependency. When we are talking about CIM XML and CIM JSON-LD conversion, we are not talking about syntax transformation. We are talking about new syntax version with additional meta vocabulary.
The following is key facts and decisions:
We will be using rdfg:Graph
we can use VOID or other standard RDF vocabulary.
Just to highlight one out of many requirement, we need to tag all dataset with One requirement for all datasets would be tagget with relevant security level. This is EU Publication defined as dcterms:accessRights
Decision:
Issue Summary: The current format of CIMXML is incompatible with standard RDF/XML syntax and the envisioned structure of CIM JSON-LD. To effectively use SHACL validation (e.g., for
cim:Datatypes
), we need to convert CIM XML, particularly its header information, into a format and structure compatible with standard RDF syntax. This conversion approach presents two main alternatives:Alternative Approaches:
Option 1: Minimal Conversion
Advantages:
Disadvantages:
Option 2: Full Conversion to CIM JSON-LD Format
Advantages:
Disadvantages: