Skip to content

Instantly share code, notes, and snippets.

@VladimirAlexiev
Last active December 26, 2023 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VladimirAlexiev/d691a9c66c348877d6c90420b52dec40 to your computer and use it in GitHub Desktop.
Save VladimirAlexiev/d691a9c66c348877d6c90420b52dec40 to your computer and use it in GitHub Desktop.
Improved CIM JSON-LD Representation

This relates to 3lbits/CIM4NoUtility#329 and 3lbits/CIM4NoUtility#331 . By using a richer context, we can simplify significantly the instance data.

diff -bu3 DIGIN10-30-LV1_EQ-shortened.jsonld DIGIN10-30-LV1_EQ-fixed.jsonld > DIGIN10-30-LV1_EQ.diff
  • Verify that the data is as expected by converting to Trig (Turtle with named graphs): DIGIN10-30-LV1_EQ-fixed.trig
riot --formatted trig DIGIN10-30-LV1_EQ-fixed.jsonld > DIGIN10-30-LV1_EQ-fixed.trig
  • Shorten prop names by using "local contexts": DIGIN10-30-LV1_EQ-shortProps.jsonld
  • Again, verify that the data is as expected:
riot --formatted trig DIGIN10-30-LV1_EQ-shortProps.jsonld > DIGIN10-30-LV1_EQ-shortProps.trig
{
"@context": {
"rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"cim" : "http://ucaiug.org/ns/CIM#",
"eu" : "http://iec.ch/TC57/CIM100-European#",
"dct" : "http://purl.org/dc/terms/",
"dcat" : "http://www.w3.org/ns/dcat#",
"prov" : "http://www.w3.org/ns/prov#",
"xsd" : "http://www.w3.org/2001/XMLSchema#",
"cim:Bay.VoltageLevel" : {"@type" : "@id"},
"cim:ConductingEquipment.BaseVoltage" : {"@type" : "@id"},
"cim:Equipment.EquipmentContainer" : {"@type" : "@id"},
"cim:PowerSystemResource.AssetDatasheet" : {"@type" : "@id"},
"cim:VoltageLevel.Substation" : {"@type" : "@id"},
"cim:VoltageLevel.BaseVoltage" : {"@type" : "@id"},
"cim:Conductor.length" : {"@type" : "xsd:decimal"},
"cim:ACLineSegment.bch" : {"@type" : "xsd:decimal"},
"cim:ACLineSegment.gch" : {"@type" : "xsd:decimal"},
"cim:ACLineSegment.r" : {"@type" : "xsd:decimal"},
"cim:ACLineSegment.x" : {"@type" : "xsd:decimal"},
"dcat:isVersionOf" : {"@type" : "@id"},
"dct:conformsTo" : {"@type" : "@id"},
"dct:issued" : {"@type": "xsd:dateTime"},
"dct:references" : {"@type" : "@id"},
"dct:spatial" : {"@type" : "@id"},
"dct:temporal" : {"@type" : "@id"},
"prov:generatedAtTime" : {"@type": "xsd:dateTime"}
},
"@id": "urn:uuid:c47d4310-b8ee-480d-9cf3-e53a81630981",
"@type": "dcat:Dataset",
"prov:generatedAtTime": "2023-10-26T10:35:31Z",
"dct:issued": "2022-03-30T16:26:37.958Z",
"dct:title": "DIGIN10-30-LV1_EQ",
"dct:description": [
{
"@value": "DIGIN10 CGMES v3.0 Low Voltage 1 (LV1) Core Equipment (EQ) Model",
"@language": "en"
}
],
"dct:publisher": {
"@id": "urn:uuid:bd53cf0a-2e2f-4230-a591-0233290b5f9b",
"dct:title": "DIGIN"
},
"dct:temporal": {
"@type": "dct:PeriodOfTime",
"dcat:startDate": {
"@value": "2022-03-30T23:00:00Z",
"@type": "xsd:dateTime"
}
},
"dct:rights": "© 2023 Copyright",
"dct:rightsHolder": "DIGIN",
"dct:license": {
"@id": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
"dct:title": "CC BY-NC-SA 4.0"
},
"dct:accessRights": {
"@id": "http://publications.europa.eu/resource/authority/access-right/PUBLIC",
"dct:title": "PUBLIC"
},
"dcat:isVersionOf": "https://digin.no/baseprofile/DIGIN10-30-LV1_EQ",
"dcat:keyword": "EQ",
"dct:spatial": "https://diginenergi.no/DIGIN10/LV1",
"dct:conformsTo": [
"http://iec.ch/TC57/ns/CIM/CoreEquipment-EU/3.0",
"http://iec.ch/TC57/ns/CIM/CoreEquipment/4.0"
],
"dct:references": ["urn:uuid:f4c70c71-77e2-410e-9903-cbd85305cdc4"],
"@graph": [
{
"@id": "urn:uuid:9d58e5bb-834c-4faa-928c-7da0bb1497d9",
"@type": "cim:ACLineSegment",
"cim:IdentifiedObject.mRID": "9d58e5bb-834c-4faa-928c-7da0bb1497d9",
"cim:IdentifiedObject.description": "400V Telemarkstien 2 ACLineSegment 1",
"cim:IdentifiedObject.name": "04 TELEMA2 ACLS1",
"cim:Equipment.aggregate": false,
"cim:Equipment.normallyInService": true,
"cim:Conductor.length": "50.0",
"cim:ACLineSegment.bch": "0.0",
"cim:ACLineSegment.gch": "0.0",
"cim:ACLineSegment.r": "0.015999999945951",
"cim:ACLineSegment.x": "0.003769911221053",
"cim:PowerSystemResource.AssetDatasheet": "urn:uuid:d25f35ca-69fb-4c06-905b-67ec532e5f14" ,
"cim:Equipment.EquipmentContainer": "urn:uuid:64e21d95-8b55-b941-a923-b74087410a66" ,
"cim:ConductingEquipment.BaseVoltage": "urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c"
},
{
"@id": "urn:uuid:3d51330c-7528-4efb-8edc-e61dcc145ac4",
"@type": "cim:Bay",
"cim:IdentifiedObject.mRID": "3d51330c-7528-4efb-8edc-e61dcc145ac4",
"cim:IdentifiedObject.description": "Nedenes 400V Low Voltage Cable 1 Bay",
"cim:IdentifiedObject.name": "NEDENES 04LC1",
"cim:Bay.VoltageLevel": "urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191"
},
{
"@id": "urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191",
"@type": "cim:VoltageLevel",
"cim:IdentifiedObject.mRID": "681a21b6-5a55-11eb-a658-74e5f963e191",
"cim:IdentifiedObject.description": "Secondary Substation LV",
"cim:IdentifiedObject.name": "NEDENES 04",
"cim:VoltageLevel.BaseVoltage": "urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c",
"cim:VoltageLevel.Substation": "urn:uuid:681a2179-5a55-11eb-a658-74e5f963e191"
}
]
}
@prefix cim: <http://ucaiug.org/ns/CIM#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix eu: <http://iec.ch/TC57/CIM100-European#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<urn:uuid:bd53cf0a-2e2f-4230-a591-0233290b5f9b>
dct:title "DIGIN" .
<urn:uuid:c47d4310-b8ee-480d-9cf3-e53a81630981>
rdf:type dcat:Dataset ;
dct:accessRights <http://publications.europa.eu/resource/authority/access-right/PUBLIC> ;
dct:conformsTo <http://iec.ch/TC57/ns/CIM/CoreEquipment/4.0> , <http://iec.ch/TC57/ns/CIM/CoreEquipment-EU/3.0> ;
dct:description "DIGIN10 CGMES v3.0 Low Voltage 1 (LV1) Core Equipment (EQ) Model"@en ;
dct:issued "2022-03-30T16:26:37.958Z"^^xsd:dateTime ;
dct:license <https://creativecommons.org/licenses/by-nc-sa/4.0/> ;
dct:publisher <urn:uuid:bd53cf0a-2e2f-4230-a591-0233290b5f9b> ;
dct:references <urn:uuid:f4c70c71-77e2-410e-9903-cbd85305cdc4> ;
dct:rights "© 2023 Copyright" ;
dct:rightsHolder "DIGIN" ;
dct:spatial <https://diginenergi.no/DIGIN10/LV1> ;
dct:temporal [ rdf:type dct:PeriodOfTime ;
dcat:startDate "2022-03-30T23:00:00Z"^^xsd:dateTime
] ;
dct:title "DIGIN10-30-LV1_EQ" ;
dcat:isVersionOf <https://digin.no/baseprofile/DIGIN10-30-LV1_EQ> ;
dcat:keyword "EQ" ;
prov:generatedAtTime "2023-10-26T10:35:31Z"^^xsd:dateTime .
<https://creativecommons.org/licenses/by-nc-sa/4.0/>
dct:title "CC BY-NC-SA 4.0" .
<http://publications.europa.eu/resource/authority/access-right/PUBLIC>
dct:title "PUBLIC" .
<urn:uuid:c47d4310-b8ee-480d-9cf3-e53a81630981> {
<urn:uuid:9d58e5bb-834c-4faa-928c-7da0bb1497d9>
rdf:type cim:ACLineSegment ;
cim:ACLineSegment.bch 0.0 ;
cim:ACLineSegment.gch 0.0 ;
cim:ACLineSegment.r 0.015999999945951 ;
cim:ACLineSegment.x 0.003769911221053 ;
cim:ConductingEquipment.BaseVoltage
<urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c> ;
cim:Conductor.length 50.0 ;
cim:Equipment.EquipmentContainer
<urn:uuid:64e21d95-8b55-b941-a923-b74087410a66> ;
cim:Equipment.aggregate false ;
cim:Equipment.normallyInService
true ;
cim:IdentifiedObject.description
"400V Telemarkstien 2 ACLineSegment 1" ;
cim:IdentifiedObject.mRID "9d58e5bb-834c-4faa-928c-7da0bb1497d9" ;
cim:IdentifiedObject.name "04 TELEMA2 ACLS1" ;
cim:PowerSystemResource.AssetDatasheet
<urn:uuid:d25f35ca-69fb-4c06-905b-67ec532e5f14> .
<urn:uuid:3d51330c-7528-4efb-8edc-e61dcc145ac4>
rdf:type cim:Bay ;
cim:Bay.VoltageLevel <urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191> ;
cim:IdentifiedObject.description
"Nedenes 400V Low Voltage Cable 1 Bay" ;
cim:IdentifiedObject.mRID "3d51330c-7528-4efb-8edc-e61dcc145ac4" ;
cim:IdentifiedObject.name "NEDENES 04LC1" .
<urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191>
rdf:type cim:VoltageLevel ;
cim:IdentifiedObject.description
"Secondary Substation LV" ;
cim:IdentifiedObject.mRID "681a21b6-5a55-11eb-a658-74e5f963e191" ;
cim:IdentifiedObject.name "NEDENES 04" ;
cim:VoltageLevel.BaseVoltage <urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c> ;
cim:VoltageLevel.Substation <urn:uuid:681a2179-5a55-11eb-a658-74e5f963e191> .
}
{
"@context": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"cim": "http://ucaiug.org/ns/CIM#",
"eu": "http://iec.ch/TC57/CIM100-European#",
"dcterms": "http://purl.org/dc/terms/",
"dcat": "http://www.w3.org/ns/dcat#",
"prov": "http://www.w3.org/ns/prov#",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"@id": "urn:uuid:c47d4310-b8ee-480d-9cf3-e53a81630981",
"@type": "dcat:Dataset",
"prov:generatedAtTime": {
"@value": "2023-10-26T10:35:31Z",
"@type": "xsd:dateTime"
},
"dcterms:issued": {
"@value": "2022-03-30T16:26:37.958Z",
"@type": "xsd:date"
},
"dcterms:title": "DIGIN10-30-LV1_EQ",
"dcterms:description": [
{
"@value": "DIGIN10 CGMES v3.0 Low Voltage 1 (LV1) Core Equipment (EQ) Model",
"@language": "en"
}
],
"dcterms:publisher": {
"@id": "urn:uuid:bd53cf0a-2e2f-4230-a591-0233290b5f9b",
"dcterms:title": "DIGIN"
},
"dcterms:temporal": {
"@type": "dcterms:PeriodOfTime",
"dcat:startDate": {
"@value": "2022-03-30T23:00:00Z",
"@type": "xsd:dateTime"
}
},
"dcterms:rights": "© 2023 Copyright",
"dcterms:rightsHolder": "DIGIN",
"dcterms:license": {
"@id": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
"dcterms:title": "CC BY-NC-SA 4.0"
},
"dcterms:accessRights": {
"@id": "http://publications.europa.eu/resource/authority/access-right/PUBLIC",
"dcterms:title": "PUBLIC"
},
"dcat:isVersionOf": {
"@id": "https://digin.no/baseprofile/DIGIN10-30-LV1_EQ"
},
"dcat:keyword": "EQ",
"dcterms:spatial": {
"@id": "https://diginenergi.no/DIGIN10/LV1"
},
"dcterms:conformsTo": [
{
"@id": "http://iec.ch/TC57/ns/CIM/CoreEquipment-EU/3.0"
},
{
"@id": "http://iec.ch/TC57/ns/CIM/CoreEquipment/4.0"
}
],
"dcterms:references": [
{
"@id": "urn:uuid:f4c70c71-77e2-410e-9903-cbd85305cdc4"
}
],
"@graph": [
{
"@id": "urn:uuid:9d58e5bb-834c-4faa-928c-7da0bb1497d9",
"@type": "cim:ACLineSegment",
"cim:IdentifiedObject.mRID": "9d58e5bb-834c-4faa-928c-7da0bb1497d9",
"cim:IdentifiedObject.description": "400V Telemarkstien 2 ACLineSegment 1",
"cim:IdentifiedObject.name": "04 TELEMA2 ACLS1",
"cim:Equipment.aggregate": false,
"cim:Equipment.normallyInService": true,
"cim:Conductor.length": 50.0,
"cim:ACLineSegment.bch": 0.0,
"cim:ACLineSegment.gch": 0.0,
"cim:ACLineSegment.r": 0.015999999945951,
"cim:ACLineSegment.x": 0.003769911221053,
"cim:PowerSystemResource.AssetDatasheet": {
"@id": "urn:uuid:d25f35ca-69fb-4c06-905b-67ec532e5f14"
},
"cim:Equipment.EquipmentContainer": {
"@id": "urn:uuid:64e21d95-8b55-b941-a923-b74087410a66"
},
"cim:ConductingEquipment.BaseVoltage": {
"@id": "urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c"
}
},
{
"@id": "urn:uuid:3d51330c-7528-4efb-8edc-e61dcc145ac4",
"@type": "cim:Bay",
"cim:IdentifiedObject.mRID": "3d51330c-7528-4efb-8edc-e61dcc145ac4",
"cim:IdentifiedObject.description": "Nedenes 400V Low Voltage Cable 1 Bay",
"cim:IdentifiedObject.name": "NEDENES 04LC1",
"cim:Bay.VoltageLevel": {
"@id": "urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191"
}
},
{
"@id": "urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191",
"@type": "cim:VoltageLevel",
"cim:IdentifiedObject.mRID": "681a21b6-5a55-11eb-a658-74e5f963e191",
"cim:IdentifiedObject.description": "Secondary Substation LV",
"cim:IdentifiedObject.name": "NEDENES 04",
"cim:VoltageLevel.BaseVoltage": {
"@id": "urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c"
},
"cim:VoltageLevel.Substation": {
"@id": "urn:uuid:681a2179-5a55-11eb-a658-74e5f963e191"
}
}
]
}
{
"@context": {
"@vocab": "http://ucaiug.org/ns/CIM#",
"cim": "http://ucaiug.org/ns/CIM#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"eu": "http://iec.ch/TC57/CIM100-European#",
"dct": "http://purl.org/dc/terms/",
"dcat": "http://www.w3.org/ns/dcat#",
"prov": "http://www.w3.org/ns/prov#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcat:isVersionOf": {"@type": "@id"},
"dct:conformsTo": {"@type": "@id"},
"dct:issued": {"@type": "xsd:dateTime"},
"dct:references": {"@type": "@id"},
"dct:spatial": {"@type": "@id"},
"dct:temporal": {"@type": "@id"},
"prov:generatedAtTime": {"@type": "xsd:dateTime"},
"mRID": {"@id": "IdentifiedObject.mRID"},
"Bay": {"@context": {"description": {"@id": "IdentifiedObject.description"},
"name": {"@id": "IdentifiedObject.name"},
"voltageLevel": {"@id": "Bay.VoltageLevel","@type": "@id"}}},
"ConductingEquipment": {"@context": {"baseVoltage": {"@id": "ConductingEquipment.BaseVoltage","@type": "@id"}}},
"Equipment": {"@context": {"equipmentContainer": {"@id": "Equipment.EquipmentContainer","@type": "@id"}}},
"PowerSystemResource": {"@context": {"assetDatasheet": {"@id": "PowerSystemResource.AssetDatasheet", "@type": "@id"}}},
"VoltageLevel": {"@context": {"description": {"@id": "IdentifiedObject.description"},
"name": {"@id": "IdentifiedObject.name"},
"substation": {"@id": "VoltageLevel.Substation", "@type": "@id"},
"baseVoltage": {"@id": "VoltageLevel.BaseVoltage", "@type": "@id"}}},
"Conductor": {"@context": {"length": {"@id": "Conductor.length", "@type": "xsd:float"}}},
"ACLineSegment": {"@context": {"description": {"@id": "IdentifiedObject.description"},
"name": {"@id": "IdentifiedObject.name"},
"aggregate": {"@id": "Equipment.aggregate", "@type":"xsd:boolean"},
"normallyInService": {"@id": "Equipment.normallyInService", "@type":"xsd:boolean"},
"length": {"@id": "Conductor.length", "@type":"xsd:float"},
"assetDatasheet": {"@id": "PowerSystemResource.AssetDatasheet", "@type":"@id"},
"equipmentContainer": {"@id": "Equipment.EquipmentContainer", "@type":"@id"},
"baseVoltage": {"@id": "ConductingEquipment.BaseVoltage", "@type":"@id"},
"bch": {"@id": "ACLineSegment.bch", "@type": "xsd:float"},
"gch": {"@id": "ACLineSegment.gch", "@type": "xsd:float"},
"r": {"@id": "ACLineSegment.r", "@type": "xsd:float"},
"x": {"@id": "ACLineSegment.x", "@type": "xsd:float"}}}
},
"@id": "urn:uuid:c47d4310-b8ee-480d-9cf3-e53a81630981",
"@type": "dcat:Dataset",
"prov:generatedAtTime": "2023-10-26T10:35:31Z",
"dct:issued": "2022-03-30T16:26:37.958Z",
"dct:title": "DIGIN10-30-LV1_EQ",
"dct:description": [
{
"@value": "DIGIN10 CGMES v3.0 Low Voltage 1 (LV1) Core Equipment (EQ) Model",
"@language": "en"
}
],
"dct:publisher": {
"@id": "urn:uuid:bd53cf0a-2e2f-4230-a591-0233290b5f9b",
"dct:title": "DIGIN"
},
"dct:temporal": {
"@type": "dct:PeriodOfTime",
"dcat:startDate": {
"@value": "2022-03-30T23:00:00Z",
"@type": "xsd:dateTime"
}
},
"dct:rights": "© 2023 Copyright",
"dct:rightsHolder": "DIGIN",
"dct:license": {
"@id": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
"dct:title": "CC BY-NC-SA 4.0"
},
"dct:accessRights": {
"@id": "http://publications.europa.eu/resource/authority/access-right/PUBLIC",
"dct:title": "PUBLIC"
},
"dcat:isVersionOf": "https://digin.no/baseprofile/DIGIN10-30-LV1_EQ",
"dcat:keyword": "EQ",
"dct:spatial": "https://diginenergi.no/DIGIN10/LV1",
"dct:conformsTo": [
"http://iec.ch/TC57/ns/CIM/CoreEquipment-EU/3.0",
"http://iec.ch/TC57/ns/CIM/CoreEquipment/4.0"
],
"dct:references": ["urn:uuid:f4c70c71-77e2-410e-9903-cbd85305cdc4"],
"@graph": [
{
"@id": "urn:uuid:9d58e5bb-834c-4faa-928c-7da0bb1497d9",
"@type": "ACLineSegment",
"mRID": "9d58e5bb-834c-4faa-928c-7da0bb1497d9",
"description": "400V Telemarkstien 2 ACLineSegment 1",
"name": "04 TELEMA2 ACLS1",
"aggregate": false,
"normallyInService": true,
"length": "50.0",
"bch": "0.0",
"gch": "0.0",
"r": "0.015999999945951",
"x": "0.003769911221053",
"assetDatasheet": "urn:uuid:d25f35ca-69fb-4c06-905b-67ec532e5f14" ,
"equipmentContainer": "urn:uuid:64e21d95-8b55-b941-a923-b74087410a66" ,
"baseVoltage": "urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c"
},
{
"@id": "urn:uuid:3d51330c-7528-4efb-8edc-e61dcc145ac4",
"@type": "Bay",
"mRID": "3d51330c-7528-4efb-8edc-e61dcc145ac4",
"description": "Nedenes 400V Low Voltage Cable 1 Bay",
"name": "NEDENES 04LC1",
"voltageLevel": "urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191"
},
{
"@id": "urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191",
"@type": "VoltageLevel",
"mRID": "681a21b6-5a55-11eb-a658-74e5f963e191",
"description": "Secondary Substation LV",
"name": "NEDENES 04",
"baseVoltage": "urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c",
"substation": "urn:uuid:681a2179-5a55-11eb-a658-74e5f963e191"
}
]
}
@prefix : <http://ucaiug.org/ns/CIM#> .
@prefix cim: <http://ucaiug.org/ns/CIM#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix eu: <http://iec.ch/TC57/CIM100-European#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<urn:uuid:bd53cf0a-2e2f-4230-a591-0233290b5f9b>
dct:title "DIGIN" .
<urn:uuid:c47d4310-b8ee-480d-9cf3-e53a81630981>
rdf:type dcat:Dataset ;
dct:accessRights <http://publications.europa.eu/resource/authority/access-right/PUBLIC> ;
dct:conformsTo <http://iec.ch/TC57/ns/CIM/CoreEquipment/4.0> , <http://iec.ch/TC57/ns/CIM/CoreEquipment-EU/3.0> ;
dct:description "DIGIN10 CGMES v3.0 Low Voltage 1 (LV1) Core Equipment (EQ) Model"@en ;
dct:issued "2022-03-30T16:26:37.958Z"^^xsd:dateTime ;
dct:license <https://creativecommons.org/licenses/by-nc-sa/4.0/> ;
dct:publisher <urn:uuid:bd53cf0a-2e2f-4230-a591-0233290b5f9b> ;
dct:references <urn:uuid:f4c70c71-77e2-410e-9903-cbd85305cdc4> ;
dct:rights "© 2023 Copyright" ;
dct:rightsHolder "DIGIN" ;
dct:spatial <https://diginenergi.no/DIGIN10/LV1> ;
dct:temporal [ rdf:type dct:PeriodOfTime ; dcat:startDate "2022-03-30T23:00:00Z"^^xsd:dateTime ] ;
dct:title "DIGIN10-30-LV1_EQ" ;
dcat:isVersionOf <https://digin.no/baseprofile/DIGIN10-30-LV1_EQ> ;
dcat:keyword "EQ" ;
prov:generatedAtTime "2023-10-26T10:35:31Z"^^xsd:dateTime .
<https://creativecommons.org/licenses/by-nc-sa/4.0/>
dct:title "CC BY-NC-SA 4.0" .
<http://publications.europa.eu/resource/authority/access-right/PUBLIC>
dct:title "PUBLIC" .
<urn:uuid:c47d4310-b8ee-480d-9cf3-e53a81630981> {
<urn:uuid:9d58e5bb-834c-4faa-928c-7da0bb1497d9>
rdf:type :ACLineSegment ;
:ACLineSegment.bch "0.0"^^xsd:float ;
:ACLineSegment.gch "0.0"^^xsd:float ;
:ACLineSegment.r "0.015999999945951"^^xsd:float ;
:ACLineSegment.x "0.003769911221053"^^xsd:float ;
:ConductingEquipment.BaseVoltage <urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c> ;
:Conductor.length "50.0"^^xsd:float ;
:Equipment.EquipmentContainer <urn:uuid:64e21d95-8b55-b941-a923-b74087410a66> ;
:Equipment.aggregate false ;
:Equipment.normallyInService true ;
:IdentifiedObject.description "400V Telemarkstien 2 ACLineSegment 1" ;
:IdentifiedObject.mRID "9d58e5bb-834c-4faa-928c-7da0bb1497d9" ;
:IdentifiedObject.name "04 TELEMA2 ACLS1" ;
:PowerSystemResource.AssetDatasheet <urn:uuid:d25f35ca-69fb-4c06-905b-67ec532e5f14> .
<urn:uuid:3d51330c-7528-4efb-8edc-e61dcc145ac4>
rdf:type :Bay ;
:Bay.VoltageLevel <urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191> ;
:IdentifiedObject.description "Nedenes 400V Low Voltage Cable 1 Bay" ;
:IdentifiedObject.mRID "3d51330c-7528-4efb-8edc-e61dcc145ac4" ;
:IdentifiedObject.name "NEDENES 04LC1" .
<urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191>
rdf:type :VoltageLevel ;
:IdentifiedObject.description "Secondary Substation LV" ;
:IdentifiedObject.mRID "681a21b6-5a55-11eb-a658-74e5f963e191" ;
:IdentifiedObject.name "NEDENES 04" ;
:VoltageLevel.BaseVoltage <urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c> ;
:VoltageLevel.Substation <urn:uuid:681a2179-5a55-11eb-a658-74e5f963e191> .
}
--- DIGIN10-30-LV1_EQ-shortened.jsonld 2023-12-22 14:15:18.034235900 +0200
+++ DIGIN10-30-LV1_EQ-fixed.jsonld 2023-12-22 14:17:32.920332900 +0200
@@ -1,71 +1,71 @@
{
"@context": {
- "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
- "cim": "http://ucaiug.org/ns/CIM#",
- "eu": "http://iec.ch/TC57/CIM100-European#",
- "dcterms": "http://purl.org/dc/terms/",
- "dcat": "http://www.w3.org/ns/dcat#",
- "prov": "http://www.w3.org/ns/prov#",
- "xsd": "http://www.w3.org/2001/XMLSchema#"
+ "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
+ "cim" : "http://ucaiug.org/ns/CIM#",
+ "eu" : "http://iec.ch/TC57/CIM100-European#",
+ "dct" : "http://purl.org/dc/terms/",
+ "dcat" : "http://www.w3.org/ns/dcat#",
+ "prov" : "http://www.w3.org/ns/prov#",
+ "xsd" : "http://www.w3.org/2001/XMLSchema#",
+ "cim:Bay.VoltageLevel" : {"@type" : "@id"},
+ "cim:ConductingEquipment.BaseVoltage" : {"@type" : "@id"},
+ "cim:Equipment.EquipmentContainer" : {"@type" : "@id"},
+ "cim:PowerSystemResource.AssetDatasheet" : {"@type" : "@id"},
+ "cim:VoltageLevel.Substation" : {"@type" : "@id"},
+ "cim:VoltageLevel.BaseVoltage" : {"@type" : "@id"},
+ "cim:Conductor.length" : {"@type" : "xsd:decimal"},
+ "cim:ACLineSegment.bch" : {"@type" : "xsd:decimal"},
+ "cim:ACLineSegment.gch" : {"@type" : "xsd:decimal"},
+ "cim:ACLineSegment.r" : {"@type" : "xsd:decimal"},
+ "cim:ACLineSegment.x" : {"@type" : "xsd:decimal"},
+ "dcat:isVersionOf" : {"@type" : "@id"},
+ "dct:conformsTo" : {"@type" : "@id"},
+ "dct:issued" : {"@type": "xsd:dateTime"},
+ "dct:references" : {"@type" : "@id"},
+ "dct:spatial" : {"@type" : "@id"},
+ "dct:temporal" : {"@type" : "@id"},
+ "prov:generatedAtTime" : {"@type": "xsd:dateTime"}
},
"@id": "urn:uuid:c47d4310-b8ee-480d-9cf3-e53a81630981",
"@type": "dcat:Dataset",
- "prov:generatedAtTime": {
- "@value": "2023-10-26T10:35:31Z",
- "@type": "xsd:dateTime"
- },
- "dcterms:issued": {
- "@value": "2022-03-30T16:26:37.958Z",
- "@type": "xsd:date"
- },
- "dcterms:title": "DIGIN10-30-LV1_EQ",
- "dcterms:description": [
+ "prov:generatedAtTime": "2023-10-26T10:35:31Z",
+ "dct:issued": "2022-03-30T16:26:37.958Z",
+ "dct:title": "DIGIN10-30-LV1_EQ",
+ "dct:description": [
{
"@value": "DIGIN10 CGMES v3.0 Low Voltage 1 (LV1) Core Equipment (EQ) Model",
"@language": "en"
}
],
- "dcterms:publisher": {
+ "dct:publisher": {
"@id": "urn:uuid:bd53cf0a-2e2f-4230-a591-0233290b5f9b",
- "dcterms:title": "DIGIN"
+ "dct:title": "DIGIN"
},
- "dcterms:temporal": {
- "@type": "dcterms:PeriodOfTime",
+ "dct:temporal": {
+ "@type": "dct:PeriodOfTime",
"dcat:startDate": {
"@value": "2022-03-30T23:00:00Z",
"@type": "xsd:dateTime"
}
},
- "dcterms:rights": "© 2023 Copyright",
- "dcterms:rightsHolder": "DIGIN",
- "dcterms:license": {
+ "dct:rights": "© 2023 Copyright",
+ "dct:rightsHolder": "DIGIN",
+ "dct:license": {
"@id": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
- "dcterms:title": "CC BY-NC-SA 4.0"
+ "dct:title": "CC BY-NC-SA 4.0"
},
- "dcterms:accessRights": {
+ "dct:accessRights": {
"@id": "http://publications.europa.eu/resource/authority/access-right/PUBLIC",
- "dcterms:title": "PUBLIC"
- },
- "dcat:isVersionOf": {
- "@id": "https://digin.no/baseprofile/DIGIN10-30-LV1_EQ"
+ "dct:title": "PUBLIC"
},
+ "dcat:isVersionOf": "https://digin.no/baseprofile/DIGIN10-30-LV1_EQ",
"dcat:keyword": "EQ",
- "dcterms:spatial": {
- "@id": "https://diginenergi.no/DIGIN10/LV1"
- },
- "dcterms:conformsTo": [
- {
- "@id": "http://iec.ch/TC57/ns/CIM/CoreEquipment-EU/3.0"
- },
- {
- "@id": "http://iec.ch/TC57/ns/CIM/CoreEquipment/4.0"
- }
- ],
- "dcterms:references": [
- {
- "@id": "urn:uuid:f4c70c71-77e2-410e-9903-cbd85305cdc4"
- }
+ "dct:spatial": "https://diginenergi.no/DIGIN10/LV1",
+ "dct:conformsTo": [
+ "http://iec.ch/TC57/ns/CIM/CoreEquipment-EU/3.0",
+ "http://iec.ch/TC57/ns/CIM/CoreEquipment/4.0"
],
+ "dct:references": ["urn:uuid:f4c70c71-77e2-410e-9903-cbd85305cdc4"],
"@graph": [
{
"@id": "urn:uuid:9d58e5bb-834c-4faa-928c-7da0bb1497d9",
@@ -75,20 +75,14 @@
"cim:IdentifiedObject.name": "04 TELEMA2 ACLS1",
"cim:Equipment.aggregate": false,
"cim:Equipment.normallyInService": true,
- "cim:Conductor.length": 50.0,
- "cim:ACLineSegment.bch": 0.0,
- "cim:ACLineSegment.gch": 0.0,
- "cim:ACLineSegment.r": 0.015999999945951,
- "cim:ACLineSegment.x": 0.003769911221053,
- "cim:PowerSystemResource.AssetDatasheet": {
- "@id": "urn:uuid:d25f35ca-69fb-4c06-905b-67ec532e5f14"
- },
- "cim:Equipment.EquipmentContainer": {
- "@id": "urn:uuid:64e21d95-8b55-b941-a923-b74087410a66"
- },
- "cim:ConductingEquipment.BaseVoltage": {
- "@id": "urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c"
- }
+ "cim:Conductor.length": "50.0",
+ "cim:ACLineSegment.bch": "0.0",
+ "cim:ACLineSegment.gch": "0.0",
+ "cim:ACLineSegment.r": "0.015999999945951",
+ "cim:ACLineSegment.x": "0.003769911221053",
+ "cim:PowerSystemResource.AssetDatasheet": "urn:uuid:d25f35ca-69fb-4c06-905b-67ec532e5f14" ,
+ "cim:Equipment.EquipmentContainer": "urn:uuid:64e21d95-8b55-b941-a923-b74087410a66" ,
+ "cim:ConductingEquipment.BaseVoltage": "urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c"
},
{
"@id": "urn:uuid:3d51330c-7528-4efb-8edc-e61dcc145ac4",
@@ -96,9 +90,7 @@
"cim:IdentifiedObject.mRID": "3d51330c-7528-4efb-8edc-e61dcc145ac4",
"cim:IdentifiedObject.description": "Nedenes 400V Low Voltage Cable 1 Bay",
"cim:IdentifiedObject.name": "NEDENES 04LC1",
- "cim:Bay.VoltageLevel": {
- "@id": "urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191"
- }
+ "cim:Bay.VoltageLevel": "urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191"
},
{
"@id": "urn:uuid:681a21b6-5a55-11eb-a658-74e5f963e191",
@@ -106,12 +98,8 @@
"cim:IdentifiedObject.mRID": "681a21b6-5a55-11eb-a658-74e5f963e191",
"cim:IdentifiedObject.description": "Secondary Substation LV",
"cim:IdentifiedObject.name": "NEDENES 04",
- "cim:VoltageLevel.BaseVoltage": {
- "@id": "urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c"
- },
- "cim:VoltageLevel.Substation": {
- "@id": "urn:uuid:681a2179-5a55-11eb-a658-74e5f963e191"
- }
+ "cim:VoltageLevel.BaseVoltage": "urn:uuid:9598e4a0-67e5-4ad7-879c-c85a1f63159c",
+ "cim:VoltageLevel.Substation": "urn:uuid:681a2179-5a55-11eb-a658-74e5f963e191"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment