Skip to content

Commit

Permalink
Merge pull request #102 from VladimirAlexiev/develop
Browse files Browse the repository at this point in the history
add datatype analysis and map, fix #32 and #93
  • Loading branch information
VladimirAlexiev authored Oct 12, 2024
2 parents b0a0097 + b338e29 commit a058c79
Show file tree
Hide file tree
Showing 64 changed files with 121,902 additions and 18,121 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/rdfs-improved/one.ttl
406 changes: 204 additions & 202 deletions rdfs-improved/CGMES-NC/ttl/AssessedElement-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

382 changes: 192 additions & 190 deletions rdfs-improved/CGMES-NC/ttl/AvailabilitySchedule-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

170 changes: 86 additions & 84 deletions rdfs-improved/CGMES-NC/ttl/Contingency-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

240 changes: 120 additions & 120 deletions rdfs-improved/CGMES-NC/ttl/DatasetMetadata-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

3,362 changes: 1,682 additions & 1,680 deletions rdfs-improved/CGMES-NC/ttl/EquipmentReliability-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

606 changes: 304 additions & 302 deletions rdfs-improved/CGMES-NC/ttl/GridDisturbance-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

308 changes: 154 additions & 154 deletions rdfs-improved/CGMES-NC/ttl/Header-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

226 changes: 114 additions & 112 deletions rdfs-improved/CGMES-NC/ttl/ImpactAssessmentMatrix-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

150 changes: 76 additions & 74 deletions rdfs-improved/CGMES-NC/ttl/MonitoringArea-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

150 changes: 76 additions & 74 deletions rdfs-improved/CGMES-NC/ttl/ObjectRegistry-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

428 changes: 215 additions & 213 deletions rdfs-improved/CGMES-NC/ttl/PowerSchedule-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

190 changes: 96 additions & 94 deletions rdfs-improved/CGMES-NC/ttl/PowerSystemProject-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

1,592 changes: 797 additions & 795 deletions rdfs-improved/CGMES-NC/ttl/RemedialAction-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

972 changes: 487 additions & 485 deletions rdfs-improved/CGMES-NC/ttl/RemedialActionSchedule-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

214 changes: 108 additions & 106 deletions rdfs-improved/CGMES-NC/ttl/SecurityAnalysisResult-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

178 changes: 90 additions & 88 deletions rdfs-improved/CGMES-NC/ttl/SensitivityMatrix-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

1,744 changes: 873 additions & 871 deletions rdfs-improved/CGMES-NC/ttl/StateInstructionSchedule-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

1,626 changes: 814 additions & 812 deletions rdfs-improved/CGMES-NC/ttl/SteadyStateHypothesisSchedule-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

1,366 changes: 684 additions & 682 deletions rdfs-improved/CGMES-NC/ttl/SteadyStateInstruction-AP-Voc-RDFS2020.ttl

Large diffs are not rendered by default.

Large diffs are not rendered by default.

13,410 changes: 6,706 additions & 6,704 deletions rdfs-improved/CGMES/ttl/61970-600-2_Dynamics-AP-Voc-RDFS2020_v3-0-0.ttl

Large diffs are not rendered by default.

3,254 changes: 1,628 additions & 1,626 deletions rdfs-improved/CGMES/ttl/61970-600-2_Equipment-AP-Voc-RDFS2020_v3-0-0.ttl

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,171 +9,171 @@
@prefix uml: <http://iec.ch/TC57/NonStandard/UML#> .

dm:DifferenceModel a owl:Class ;
rdfs:label "DifferenceModel"@en ;
rdfs:comment "It represents the difference model header. The content is described by the Model class, the association role forwardDifferences and association role reverseDifferences. Both association roles may have one set of Statements." ;
rdfs:label "DifferenceModel" ;
rdfs:comment "It represents the difference model header. The content is described by the Model class, the association role forwardDifferences and association role reverseDifferences. Both association roles may have one set of Statements."@en ;
cims:belongsToCategory cim:Package_FileHeaderProfile ;
cims:stereotype "dm", uml:concrete ;
rdfs:subClassOf md:Model .

md:FullModel a owl:Class ;
rdfs:label "FullModel"@en ;
rdfs:comment "It represents the full model header and its contents is described by the Model class." ;
rdfs:label "FullModel" ;
rdfs:comment "It represents the full model header and its contents is described by the Model class."@en ;
cims:belongsToCategory cim:Package_FileHeaderProfile ;
cims:stereotype uml:concrete, "md" ;
rdfs:subClassOf md:Model .

md:Model a owl:Class ;
rdfs:label "Model"@en ;
rdfs:label "Model" ;
rdfs:comment """A Model is a collection of data describing instances, objects or entities, real or computed. In the context of CIM the semantics of the data is defined by profiles. Hence a model can contain equipment data, power flow initial values, power flow results etc.
The Model class describes the header content that is the same for the FullModel and the DifferenceModel. A Model is identified by an rdf:about attribute. The rdf:about attribute uniquely describe the model data and not the CIMXML document. A new rdf:about identification is generated for created documents only when the model data has changed. A repeated creation of documents from unchanged model data shall have the same rdf:about identification as previous document generated from the same model data.""" ;
The Model class describes the header content that is the same for the FullModel and the DifferenceModel. A Model is identified by an rdf:about attribute. The rdf:about attribute uniquely describe the model data and not the CIMXML document. A new rdf:about identification is generated for created documents only when the model data has changed. A repeated creation of documents from unchanged model data shall have the same rdf:about identification as previous document generated from the same model data."""@en ;
cims:belongsToCategory cim:Package_FileHeaderProfile ;
cims:stereotype "md" .

rdf:Statements a owl:Class ;
rdfs:label "Statements"@en ;
rdfs:comment "It represent a set of Definition and/or Description elements." ;
rdfs:label "Statements" ;
rdfs:comment "It represent a set of Definition and/or Description elements."@en ;
cims:belongsToCategory cim:Package_DomainProfile ;
cims:stereotype "Compound", "rdf" .

dm:DifferenceModel.forwardDifferences a owl:ObjectProperty ;
rdfs:label "forwardDifferences"@en ;
rdfs:comment "A property of the difference model whose value is a collection of statements (i.e., resources of type rdf:Statement) representing the forward difference statements." ;
rdfs:label "forwardDifferences" ;
rdfs:comment "A property of the difference model whose value is a collection of statements (i.e., resources of type rdf:Statement) representing the forward difference statements."@en ;
cims:multiplicity cims:M:1..n ;
cims:stereotype uml:attribute ;
rdfs:domain dm:DifferenceModel ;
rdfs:range rdf:Statements .

dm:DifferenceModel.preconditions a owl:ObjectProperty ;
rdfs:label "preconditions"@en ;
rdfs:comment "A property of the difference model whose value is the collection of precondition statements." ;
rdfs:label "preconditions" ;
rdfs:comment "A property of the difference model whose value is the collection of precondition statements."@en ;
cims:multiplicity cims:M:1..n ;
cims:stereotype uml:attribute ;
rdfs:domain dm:DifferenceModel ;
rdfs:range rdf:Statements .

dm:DifferenceModel.reverseDifferences a owl:ObjectProperty ;
rdfs:label "reverseDifferences"@en ;
rdfs:comment "A property of the difference model whose value is the collection of reverse difference statements." ;
rdfs:label "reverseDifferences" ;
rdfs:comment "A property of the difference model whose value is the collection of reverse difference statements."@en ;
cims:multiplicity cims:M:1..n ;
cims:stereotype uml:attribute ;
rdfs:domain dm:DifferenceModel ;
rdfs:range rdf:Statements .

md:Model.DependentOn a owl:ObjectProperty ;
rdfs:label "DependentOn"@en ;
rdfs:label "DependentOn" ;
rdfs:comment """A reference to the model documents that the model described by this document depends on. In general there can be 0 or many Model.DependentOn depending on the profile and the content of the instance file.
For instance:
– A load flow solution depends on the topology model it was computed from
– A topology model computed by a topology processor depends on the network model it was computed from.
The referenced models are identified by the FullModel rdf:about attribute for full model documents and by DifferenceModel rdf:about attribute for difference model documents.
The references are maintained by the producer of the CIMXML document and the references are valid for the model with version and identifier for which the document was created.""" ;
The references are maintained by the producer of the CIMXML document and the references are valid for the model with version and identifier for which the document was created."""@en ;
cims:AssociationUsed "Yes" ;
cims:multiplicity cims:M:0..n ;
owl:inverseOf md:Model.Depending ;
rdfs:domain md:Model ;
rdfs:range md:Model .

md:Model.Depending a owl:ObjectProperty ;
rdfs:label "Depending"@en ;
rdfs:comment "All documents depending on the model described by this document. This role is not intended to be included in any document exchanging instance data." ;
rdfs:label "Depending" ;
rdfs:comment "All documents depending on the model described by this document. This role is not intended to be included in any document exchanging instance data."@en ;
cims:AssociationUsed "No" ;
cims:multiplicity cims:M:0..n ;
owl:inverseOf md:Model.DependentOn ;
rdfs:domain md:Model ;
rdfs:range md:Model .

md:Model.SupersededBy a owl:ObjectProperty ;
rdfs:label "SupersededBy"@en ;
rdfs:comment "All models superseding this model. This role is not intended to be included in any document exchanging instance data." ;
rdfs:label "SupersededBy" ;
rdfs:comment "All models superseding this model. This role is not intended to be included in any document exchanging instance data."@en ;
cims:AssociationUsed "No" ;
cims:multiplicity cims:M:0..n ;
owl:inverseOf md:Model.Supersedes ;
rdfs:domain md:Model ;
rdfs:range md:Model .

md:Model.Supersedes a owl:ObjectProperty ;
rdfs:label "Supersedes"@en ;
rdfs:comment "When a model is updated the resulting model supersedes the models that were used as basis for the update. Hence this is a reference to the CIMXML documents which are superseded by this model. A model (or instance file) can supersede 1 or more models, e.g. a difference model or a full model supersede multiple models (difference or full). In this case more than one Model.Supersedes are included in the header. The referenced document(s) is (are) identified by the URN/MRID/UUID in the FullModel rdf:about attribute when full model(s) is (are) referenced and by the URN/MRID/UUID in the DifferenceModel rdf:about attribute when difference model(s) is (are) referenced." ;
rdfs:label "Supersedes" ;
rdfs:comment "When a model is updated the resulting model supersedes the models that were used as basis for the update. Hence this is a reference to the CIMXML documents which are superseded by this model. A model (or instance file) can supersede 1 or more models, e.g. a difference model or a full model supersede multiple models (difference or full). In this case more than one Model.Supersedes are included in the header. The referenced document(s) is (are) identified by the URN/MRID/UUID in the FullModel rdf:about attribute when full model(s) is (are) referenced and by the URN/MRID/UUID in the DifferenceModel rdf:about attribute when difference model(s) is (are) referenced."@en ;
cims:AssociationUsed "Yes" ;
cims:multiplicity cims:M:0..n ;
owl:inverseOf md:Model.SupersededBy ;
rdfs:domain md:Model ;
rdfs:range md:Model .

md:Model.created a owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:label "created"@en ;
rdfs:comment "The date and time when the model was created. It is the time of the serialization. The format is an extended format according to the ISO 8601-2005. European exchanges shall refer to UTC, e.g. &lt;md:Model.created&gt;2014-05-15T17:48:31.474Z&lt;/md:Model.created&gt;." ;
rdfs:label "created" ;
rdfs:comment "The date and time when the model was created. It is the time of the serialization. The format is an extended format according to the ISO 8601-2005. European exchanges shall refer to UTC, e.g. &lt;md:Model.created&gt;2014-05-15T17:48:31.474Z&lt;/md:Model.created&gt;."@en ;
cims:multiplicity cims:M:1..1 ;
cims:stereotype uml:attribute ;
rdfs:domain md:Model ;
rdfs:range xsd:dateTime .

md:Model.description a owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:label "description"@en ;
rdfs:comment "A description of the model, e.g. the name of person that created the model and for what purpose. The number of UTF-8 characters is limited to 2000." ;
rdfs:label "description" ;
rdfs:comment "A description of the model, e.g. the name of person that created the model and for what purpose. The number of UTF-8 characters is limited to 2000."@en ;
cims:multiplicity cims:M:1..1 ;
cims:stereotype uml:attribute ;
rdfs:domain md:Model ;
rdfs:range xsd:string .

md:Model.modelingAuthoritySet a owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:label "modelingAuthoritySet"@en ;
rdfs:comment "A URN/URI referring to the organisation role / model authority set reference. The organization role is the source of the model. It is the same for all profiles part of a model exchange." ;
rdfs:label "modelingAuthoritySet" ;
rdfs:comment "A URN/URI referring to the organisation role / model authority set reference. The organization role is the source of the model. It is the same for all profiles part of a model exchange."@en ;
cims:multiplicity cims:M:1..1 ;
cims:stereotype uml:attribute ;
rdfs:domain md:Model ;
rdfs:range xsd:anyURI .

md:Model.profile a owl:DatatypeProperty ;
rdfs:label "profile"@en ;
rdfs:comment "URN/URI describing the profiles that governs this model. It uniquely identifies the profiles and its version, e.g. http://iec.ch/TC57/61970-456/SteadyStateHypothesis/2/0." ;
rdfs:label "profile" ;
rdfs:comment "URN/URI describing the profiles that governs this model. It uniquely identifies the profiles and its version, e.g. http://iec.ch/TC57/61970-456/SteadyStateHypothesis/2/0."@en ;
cims:multiplicity cims:M:1..n ;
cims:stereotype uml:attribute ;
rdfs:domain md:Model ;
rdfs:range xsd:anyURI .

md:Model.scenarioTime a owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:label "scenarioTime"@en ;
rdfs:comment "The date and time that this model represents, i.e. for which the model is valid. The format is an extended format according to the ISO 8601-2005. European exchanges shall refer to UTC, e.g. &lt;md:Model.scenarioTime&gt;2030-01-15T17:00:00.000Z&lt;/md:Model.scenarioTime&gt;." ;
rdfs:label "scenarioTime" ;
rdfs:comment "The date and time that this model represents, i.e. for which the model is valid. The format is an extended format according to the ISO 8601-2005. European exchanges shall refer to UTC, e.g. &lt;md:Model.scenarioTime&gt;2030-01-15T17:00:00.000Z&lt;/md:Model.scenarioTime&gt;."@en ;
cims:multiplicity cims:M:1..1 ;
cims:stereotype uml:attribute ;
rdfs:domain md:Model ;
rdfs:range xsd:dateTime .

md:Model.version a owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:label "version"@en ;
rdfs:comment "The version of the model. If the instance file is imported and exported with no change the version number is the kept same. The version changes only if the content of the file changes. It is the same logic as for the header id. The version is the human readable id." ;
rdfs:label "version" ;
rdfs:comment "The version of the model. If the instance file is imported and exported with no change the version number is the kept same. The version changes only if the content of the file changes. It is the same logic as for the header id. The version is the human readable id."@en ;
cims:multiplicity cims:M:1..1 ;
cims:stereotype uml:attribute ;
rdfs:domain md:Model ;
rdfs:range xsd:integer .

rdf:Statements.object a owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:label "object"@en ;
rdfs:comment "Statement object." ;
rdfs:label "object" ;
rdfs:comment "Statement object."@en ;
cims:multiplicity cims:M:1..1 ;
cims:stereotype uml:attribute ;
rdfs:domain rdf:Statements ;
rdfs:range xsd:string .

rdf:Statements.predicate a owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:label "predicate"@en ;
rdfs:comment "Statement predicate." ;
rdfs:label "predicate" ;
rdfs:comment "Statement predicate."@en ;
cims:multiplicity cims:M:1..1 ;
cims:stereotype uml:attribute ;
rdfs:domain rdf:Statements ;
rdfs:range xsd:string .

rdf:Statements.subject a owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:label "subject"@en ;
rdfs:comment "Statement subject." ;
rdfs:label "subject" ;
rdfs:comment "Statement subject."@en ;
cims:multiplicity cims:M:1..1 ;
cims:stereotype uml:attribute ;
rdfs:domain rdf:Statements ;
rdfs:range xsd:string .

cim:Package_FileHeaderProfile a cims:ClassCategory ;
rdfs:label "FileHeaderProfile"@en ;
rdfs:comment "The package describes the profile for the exchange of power system model data according to IEC 61970-552. It contains extensions used for data exchanges based on IEC 61970-600." .
rdfs:label "FileHeaderProfile" ;
rdfs:comment "The package describes the profile for the exchange of power system model data according to IEC 61970-552. It contains extensions used for data exchanges based on IEC 61970-600."@en .


Loading

0 comments on commit a058c79

Please sign in to comment.