@enervance/insight-cim-model 0.0.57 → 0.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/config/westnetz-neplan/neplan-load.config.js +0 -1
  2. package/dist/config/westnetz-neplan/neplan-load.config.js.map +1 -1
  3. package/dist/constants/cim-class-definition.js +0 -10
  4. package/dist/constants/cim-class-definition.js.map +1 -1
  5. package/dist/constants/cim-class-names.d.ts +0 -5
  6. package/dist/constants/cim-class-names.js +0 -5
  7. package/dist/constants/cim-class-names.js.map +1 -1
  8. package/dist/converter/integral7/ConverterIntegral7.js +23 -23
  9. package/dist/converter/integral7/converter-i7.d.ts +3 -5
  10. package/dist/converter/integral7/converter-i7.js +495 -460
  11. package/dist/converter/integral7/converter-i7.js.map +1 -1
  12. package/dist/converter/integral7/interface-i7/data-structures-i7.d.ts +3 -2
  13. package/dist/converter/integral7/interface-i7/data-structures-i7.js.map +1 -1
  14. package/dist/converter/integral7/interface-i7/export-frame-i7.d.ts +3 -2
  15. package/dist/converter/integral7/interface-i7/export-frame-i7.js +15 -4
  16. package/dist/converter/integral7/interface-i7/export-frame-i7.js.map +1 -1
  17. package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.d.ts +4 -0
  18. package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.js +3 -0
  19. package/dist/converter/integral7/model/dl-utils/ISchemaDatabaseKey.js.map +1 -0
  20. package/dist/converter/integral7/model/dl-utils/util-functions.d.ts +13 -1
  21. package/dist/converter/integral7/model/dl-utils/util-functions.js +50 -6
  22. package/dist/converter/integral7/model/dl-utils/util-functions.js.map +1 -1
  23. package/dist/converter/integral7/model/interfaces.d.ts +0 -5
  24. package/dist/converter/integral7/model/interfaces.js.map +1 -1
  25. package/dist/converter/integral7/sql/integral.sql.d.ts +1 -87
  26. package/dist/converter/integral7/sql/integral.sql.js +8 -107
  27. package/dist/converter/integral7/sql/integral.sql.js.map +1 -1
  28. package/dist/converter/integral7/utils.js +2 -5
  29. package/dist/converter/integral7/utils.js.map +1 -1
  30. package/dist/etl/etl-neplan/etl-neplan-csv.js +39 -39
  31. package/dist/etl/etl-neplan/etl-neplan-geo.js +16 -16
  32. package/dist/etl/etl-neplan/etl-neplan.js +17 -17
  33. package/dist/index.d.ts +1 -8
  34. package/dist/index.js +2 -16
  35. package/dist/index.js.map +1 -1
  36. package/dist/model/assetinfo/SwitchInfo.js +19 -19
  37. package/dist/model/assetinfo/TapChangerInfo.js +1 -1
  38. package/dist/model/assetinfo/WireInfo.js +3 -3
  39. package/dist/model/assets/Asset.js +30 -30
  40. package/dist/model/assets/AssetDeployment.js +48 -48
  41. package/dist/model/assets/AssetHealthEvent.js +1 -1
  42. package/dist/model/assets/AssetUser.js +1 -1
  43. package/dist/model/assets/Facility.js +37 -37
  44. package/dist/model/common/CoordinateSystem.js +17 -17
  45. package/dist/model/common/Location.js +22 -22
  46. package/dist/model/common/Organisation.js +1 -1
  47. package/dist/model/common/PositionPoint.js +25 -25
  48. package/dist/model/core/BaseVoltage.js +22 -22
  49. package/dist/model/core/ConnectivityNode.js +24 -24
  50. package/dist/model/core/Feeder.js +29 -29
  51. package/dist/model/core/IdentifiedObject.js +1 -1
  52. package/dist/model/core/IdentifiedObject.js.map +1 -1
  53. package/dist/model/core/PSRType.js +43 -43
  54. package/dist/model/core/Substation.js +1 -1
  55. package/dist/model/core/Terminal.js +31 -31
  56. package/dist/model/dc/DCLine.js +17 -17
  57. package/dist/model/dc/DCLineSegment.js +25 -25
  58. package/dist/model/diagram/Diagram.js +20 -20
  59. package/dist/model/diagram/DiagramObject.js +26 -26
  60. package/dist/model/diagram/DiagramObjectPoint.js +47 -47
  61. package/dist/model/equivalents/EquivalentBranch.js +44 -44
  62. package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.js +23 -23
  63. package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.js +23 -23
  64. package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.js +23 -23
  65. package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.js +23 -23
  66. package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.js +23 -23
  67. package/dist/model/extensions/amprion/assets/AMPRIONCountry.js +19 -19
  68. package/dist/model/extensions/amprion/assets/AMPRIONFacility.js +60 -60
  69. package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.js +23 -23
  70. package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.js +23 -23
  71. package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.js +23 -23
  72. package/dist/model/extensions/amprion/assets/AMPRIONSpanField.js +49 -49
  73. package/dist/model/extensions/amprion/assets/AMPRIONState.js +21 -21
  74. package/dist/model/extensions/amprion/assets/AMPRIONTower.js +51 -51
  75. package/dist/model/extensions/amprion/assets/AMPRIONWire.js +68 -68
  76. package/dist/model/extensions/amprion/core/AMPRIONBay.js +26 -26
  77. package/dist/model/extensions/amprion/core/AMPRIONSubstation.js +25 -25
  78. package/dist/model/extensions/amprion/model/AMPRIONModel.d.ts +0 -16
  79. package/dist/model/extensions/amprion/model/AMPRIONModel.js +0 -32
  80. package/dist/model/extensions/amprion/model/AMPRIONModel.js.map +1 -1
  81. package/dist/model/extensions/amprion/wires/AMPRIONACLineSegment.js +1 -1
  82. package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerEndInfo.js +1 -1
  83. package/dist/model/extensions/enervance/assetinfo/EVPowerTransformerInfo.js +1 -1
  84. package/dist/model/extensions/enervance/assetinfo/EVStationInfo.js +1 -1
  85. package/dist/model/extensions/enervance/assetinfo/EVTapChangerInfo.js +1 -1
  86. package/dist/model/extensions/enervance/assetinfo/EVWireInfo.js +38 -38
  87. package/dist/model/extensions/enervance/assets/EVWireObject.js +1 -1
  88. package/dist/model/extensions/enervance/wires/EVACLineSegment.js +1 -1
  89. package/dist/model/extensions/enervance/wires/EVACLineSubSegment.js +32 -32
  90. package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js +33 -33
  91. package/dist/model/extensions/neplan-westnetz/assets/WNWireInfo.js +40 -40
  92. package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js +31 -31
  93. package/dist/model/extensions/neplan-westnetz/core/WNFeeder.js +34 -34
  94. package/dist/model/extensions/neplan-westnetz/wires/WNACLineSegment.js +1 -1
  95. package/dist/model/extensions/neplan-westnetz/wires/WNEnergyConsumer.js +1 -1
  96. package/dist/model/generation/GeneratingUnit.js +36 -36
  97. package/dist/model/generation/WindGeneratingUnit.js +38 -38
  98. package/dist/model/loadmodel/ConformLoad.js +33 -33
  99. package/dist/model/loadmodel/ConformLoadGroup.js +22 -22
  100. package/dist/model/loadmodel/LoadArea.js +21 -21
  101. package/dist/model/loadmodel/SubLoadArea.js +22 -22
  102. package/dist/model/model/Model.d.ts +1 -6
  103. package/dist/model/model/Model.js +0 -12
  104. package/dist/model/model/Model.js.map +1 -1
  105. package/dist/model/model-operations/ModelOperationDescription.d.ts +1 -5
  106. package/dist/model/model-operations/ModelOperationDescription.js +1 -36
  107. package/dist/model/model-operations/ModelOperationDescription.js.map +1 -1
  108. package/dist/model/operationallimits/CurrentLimit.js +19 -19
  109. package/dist/model/operationallimits/OperationalLimitSet.js +18 -18
  110. package/dist/model/operationallimits/OperationalLimitType.js +16 -16
  111. package/dist/model/statevariables/SvPowerFlow.js +20 -20
  112. package/dist/model/statevariables/SvVoltage.js +1 -1
  113. package/dist/model/topology/TopologicalIsland.js +1 -1
  114. package/dist/model/topology/TopologicalNode.js +25 -25
  115. package/dist/model/wires/Breaker.js +34 -34
  116. package/dist/model/wires/BusbarSection.js +1 -1
  117. package/dist/model/wires/Clamp.js +1 -1
  118. package/dist/model/wires/Disconnector.js +31 -31
  119. package/dist/model/wires/EnergyConsumer.js +32 -32
  120. package/dist/model/wires/ExternalNetworkInjection.js +45 -45
  121. package/dist/model/wires/Ground.js +1 -1
  122. package/dist/model/wires/GroundDisconnector.js +1 -1
  123. package/dist/model/wires/Junction.js +20 -20
  124. package/dist/model/wires/Line.js +23 -23
  125. package/dist/model/wires/LinearShuntCompensator.js +36 -36
  126. package/dist/model/wires/LoadBreakSwitch.js +1 -1
  127. package/dist/model/wires/PetersenCoil.js +34 -34
  128. package/dist/model/wires/PowerTransformer.js +27 -27
  129. package/dist/model/wires/PowerTransformerEnd.js +31 -31
  130. package/dist/model/wires/Recloser.js +1 -1
  131. package/dist/model/wires/RegulatingControl.js +31 -31
  132. package/dist/model/wires/SeriesCompensator.js +36 -36
  133. package/dist/model/wires/Switch.js +32 -32
  134. package/dist/model/wires/SynchronousMachine.js +1 -1
  135. package/dist/package.json +16 -16
  136. package/package.json +94 -94
  137. package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.d.ts +0 -8
  138. package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js +0 -45
  139. package/dist/model/extensions/amprion/operationallimits/AMPRIONMaxInstrumentalCurrentLimit.js.map +0 -1
  140. package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.d.ts +0 -8
  141. package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js +0 -45
  142. package/dist/model/extensions/amprion/operationallimits/AMPRIONProtectionCurrentLimit.js.map +0 -1
  143. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.d.ts +0 -8
  144. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js +0 -45
  145. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalConnectionCurrentLimit.js.map +0 -1
  146. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.d.ts +0 -8
  147. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.js +0 -45
  148. package/dist/model/extensions/amprion/operationallimits/AMPRIONThermalCurrentLimit.js.map +0 -1
@@ -22,28 +22,28 @@ class AMPRIONAssetPrimaryEquipment extends AssetOrganisationRole_1.AssetOrganisa
22
22
  }
23
23
  }
24
24
  exports.AMPRIONAssetPrimaryEquipment = AMPRIONAssetPrimaryEquipment;
25
- AMPRIONAssetPrimaryEquipment.sparqlQuery = `
26
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
-
33
- SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
- (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
- ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
- (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
-
38
- WHERE {
39
- GRAPH<http://default/> {
40
- ?aoUUID rdf:type amp:AMPRIONAssetPrimaryEquipment .
41
- OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
- OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
- OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
- OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
- }
46
- }
47
- GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
25
+ AMPRIONAssetPrimaryEquipment.sparqlQuery = `
26
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
+ PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
+
33
+ SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
+ (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
+ ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
+ (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
+
38
+ WHERE {
39
+ GRAPH<http://default/> {
40
+ ?aoUUID rdf:type amp:AMPRIONAssetPrimaryEquipment .
41
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
+ OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
+ OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
+ }
46
+ }
47
+ GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
48
48
  `;
49
49
  //# sourceMappingURL=AMPRIONAssetPrimaryEquipment.js.map
@@ -22,28 +22,28 @@ class AMPRIONAssetSecondaryEquipment extends AssetOrganisationRole_1.AssetOrgani
22
22
  }
23
23
  }
24
24
  exports.AMPRIONAssetSecondaryEquipment = AMPRIONAssetSecondaryEquipment;
25
- AMPRIONAssetSecondaryEquipment.sparqlQuery = `
26
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
-
33
- SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
- (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
- ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
- (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
-
38
- WHERE {
39
- GRAPH<http://default/> {
40
- ?aoUUID rdf:type amp:AMPRIONAssetSecondaryEquipment .
41
- OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
- OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
- OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
- OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
- }
46
- }
47
- GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
25
+ AMPRIONAssetSecondaryEquipment.sparqlQuery = `
26
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
+ PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
+
33
+ SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
+ (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
+ ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
+ (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
+
38
+ WHERE {
39
+ GRAPH<http://default/> {
40
+ ?aoUUID rdf:type amp:AMPRIONAssetSecondaryEquipment .
41
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
+ OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
+ OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
+ }
46
+ }
47
+ GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
48
48
  `;
49
49
  //# sourceMappingURL=AMPRIONAssetSecondaryEquipment.js.map
@@ -22,28 +22,28 @@ class AMPRIONContractingAuthority extends AssetOrganisationRole_1.AssetOrganisat
22
22
  }
23
23
  }
24
24
  exports.AMPRIONContractingAuthority = AMPRIONContractingAuthority;
25
- AMPRIONContractingAuthority.sparqlQuery = `
26
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
-
33
- SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
- (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
- ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
- (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
-
38
- WHERE {
39
- GRAPH<http://default/> {
40
- ?aoUUID rdf:type amp:AMPRIONContractingAuthority .
41
- OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
- OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
- OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
- OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
- }
46
- }
47
- GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
25
+ AMPRIONContractingAuthority.sparqlQuery = `
26
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
+ PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
+
33
+ SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
+ (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
+ ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
+ (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
+
38
+ WHERE {
39
+ GRAPH<http://default/> {
40
+ ?aoUUID rdf:type amp:AMPRIONContractingAuthority .
41
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
+ OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
+ OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
+ }
46
+ }
47
+ GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
48
48
  `;
49
49
  //# sourceMappingURL=AMPRIONContractingAuthority.js.map
@@ -26,24 +26,24 @@ class AMPRIONCountry extends IdentifiedObject_1.IdentifiedObject {
26
26
  }
27
27
  }
28
28
  exports.AMPRIONCountry = AMPRIONCountry;
29
- AMPRIONCountry.sparqlQuery = `
30
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
31
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
32
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
33
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
34
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
35
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
36
-
37
- SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
38
- (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
39
- ?name ?description
40
-
41
- WHERE {
42
- GRAPH<http://default/> {
43
- ?aoUUID rdf:type amp:AMPRIONCountry .
44
- OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
45
- OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
46
- }
47
- }
29
+ AMPRIONCountry.sparqlQuery = `
30
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
31
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
32
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
33
+ PREFIX amp: <http://amprion.net/CIM/Extensions#>
34
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
35
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
36
+
37
+ SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
38
+ (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
39
+ ?name ?description
40
+
41
+ WHERE {
42
+ GRAPH<http://default/> {
43
+ ?aoUUID rdf:type amp:AMPRIONCountry .
44
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
45
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
46
+ }
47
+ }
48
48
  `;
49
49
  //# sourceMappingURL=AMPRIONCountry.js.map
@@ -46,65 +46,65 @@ class AMPRIONFacility extends Facility_1.Facility {
46
46
  }
47
47
  }
48
48
  exports.AMPRIONFacility = AMPRIONFacility;
49
- AMPRIONFacility.sparqlQuery = `
50
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
51
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
52
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
53
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
54
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
55
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
56
-
57
- SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
58
- ?name ?shortName ?description
59
- ?installationDate ?rcmValue ?number ?importance ?operatingLife ?exchangeYear
60
- ?kind ?type
61
- (strafter(strafter(str(?statusEnum), '#'), '.') AS ?status)
62
-
63
- ?installationDate2 ?name2 ?plannedInstallation ?plannedName ?plannedShortName ?shortName2
64
- (strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
65
- (strafter(strafter(str(?sUUID), '#'), '_') AS ?stateUUID)
66
- (strafter(strafter(str(?aiUUID), '#'), '_') AS ?assetInfoUUID)
67
- (group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
68
-
69
- WHERE {
70
- GRAPH <http://default/> {
71
- ?mrid rdf:type cim:Facility .
72
- OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
73
- OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
74
- OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
75
-
76
- OPTIONAL { ?mrid cim:Asset.type ?type .}
77
-
78
- OPTIONAL { ?mrid amp:Asset.rcmValue ?rcmValue .}
79
- OPTIONAL { ?mrid amp:Asset.installationDate ?installationDate .}
80
- OPTIONAL { ?mrid amp:Asset.number ?number .}
81
- OPTIONAL { ?mrid amp:Asset.importance ?importance .}
82
- OPTIONAL { ?mrid amp:Asset.operatingLife ?operatingLife .}
83
- OPTIONAL { ?mrid amp:Asset.exchangeYear ?exchangeYear .}
84
- OPTIONAL { ?mrid amp:Asset.condition ?condition .}
85
-
86
- OPTIONAL { ?mrid amp:Asset.status ?statusEnum .}
87
-
88
- OPTIONAL { ?mrid amp:Facility.installationDate2 ?installationDate2 .}
89
- OPTIONAL { ?mrid amp:Facility.name2 ?name2 .}
90
- OPTIONAL { ?mrid amp:Facility.plannedInstallation ?plannedInstallation .}
91
- OPTIONAL { ?mrid amp:Facility.plannedName ?plannedName .}
92
- OPTIONAL { ?mrid amp:Facility.plannedShortName ?plannedShortName .}
93
- OPTIONAL { ?mrid amp:Facility.shortName2 ?shortName2 .}
94
-
95
- OPTIONAL { ?mrid cim:Facility.kind ?kind .}
96
- OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
97
- OPTIONAL { ?mrid amp:AMPRIONAsset.State ?sUUID .}
98
-
99
- OPTIONAL { ?mrid cim:Asset.AssetInfo ?aiUUID .}
100
-
101
- OPTIONAL {?mrid cim:Asset.PowerSystemResources ?psrUUIDs . }
102
- }
103
- }
104
- GROUP BY ?mrid ?baseIRI ?name ?shortName ?description ?installationDate
105
- ?rcmValue ?number ?importance ?operatingLife ?exchangeYear
106
- ?kind ?type ?statusEnum ?installationDate2 ?name2 ?plannedInstallation
107
- ?plannedName ?plannedShortName ?shortName2
108
- ?aContainerUUID ?sUUID ?aiUUID
49
+ AMPRIONFacility.sparqlQuery = `
50
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
51
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
52
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
53
+ PREFIX amp: <http://amprion.net/CIM/Extensions#>
54
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
55
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
56
+
57
+ SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
58
+ ?name ?shortName ?description
59
+ ?installationDate ?rcmValue ?number ?importance ?operatingLife ?exchangeYear
60
+ ?kind ?type
61
+ (strafter(strafter(str(?statusEnum), '#'), '.') AS ?status)
62
+
63
+ ?installationDate2 ?name2 ?plannedInstallation ?plannedName ?plannedShortName ?shortName2
64
+ (strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
65
+ (strafter(strafter(str(?sUUID), '#'), '_') AS ?stateUUID)
66
+ (strafter(strafter(str(?aiUUID), '#'), '_') AS ?assetInfoUUID)
67
+ (group_concat(STRAFTER(str(?psrUUIDs), '#_');separator=',') as ?powerSystemResourceUUIDs)
68
+
69
+ WHERE {
70
+ GRAPH <http://default/> {
71
+ ?mrid rdf:type cim:Facility .
72
+ OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
73
+ OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
74
+ OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
75
+
76
+ OPTIONAL { ?mrid cim:Asset.type ?type .}
77
+
78
+ OPTIONAL { ?mrid amp:Asset.rcmValue ?rcmValue .}
79
+ OPTIONAL { ?mrid amp:Asset.installationDate ?installationDate .}
80
+ OPTIONAL { ?mrid amp:Asset.number ?number .}
81
+ OPTIONAL { ?mrid amp:Asset.importance ?importance .}
82
+ OPTIONAL { ?mrid amp:Asset.operatingLife ?operatingLife .}
83
+ OPTIONAL { ?mrid amp:Asset.exchangeYear ?exchangeYear .}
84
+ OPTIONAL { ?mrid amp:Asset.condition ?condition .}
85
+
86
+ OPTIONAL { ?mrid amp:Asset.status ?statusEnum .}
87
+
88
+ OPTIONAL { ?mrid amp:Facility.installationDate2 ?installationDate2 .}
89
+ OPTIONAL { ?mrid amp:Facility.name2 ?name2 .}
90
+ OPTIONAL { ?mrid amp:Facility.plannedInstallation ?plannedInstallation .}
91
+ OPTIONAL { ?mrid amp:Facility.plannedName ?plannedName .}
92
+ OPTIONAL { ?mrid amp:Facility.plannedShortName ?plannedShortName .}
93
+ OPTIONAL { ?mrid amp:Facility.shortName2 ?shortName2 .}
94
+
95
+ OPTIONAL { ?mrid cim:Facility.kind ?kind .}
96
+ OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
97
+ OPTIONAL { ?mrid amp:AMPRIONAsset.State ?sUUID .}
98
+
99
+ OPTIONAL { ?mrid cim:Asset.AssetInfo ?aiUUID .}
100
+
101
+ OPTIONAL {?mrid cim:Asset.PowerSystemResources ?psrUUIDs . }
102
+ }
103
+ }
104
+ GROUP BY ?mrid ?baseIRI ?name ?shortName ?description ?installationDate
105
+ ?rcmValue ?number ?importance ?operatingLife ?exchangeYear
106
+ ?kind ?type ?statusEnum ?installationDate2 ?name2 ?plannedInstallation
107
+ ?plannedName ?plannedShortName ?shortName2
108
+ ?aContainerUUID ?sUUID ?aiUUID
109
109
  `;
110
110
  //# sourceMappingURL=AMPRIONFacility.js.map
@@ -22,28 +22,28 @@ class AMPRIONLeaseholder extends AssetOrganisationRole_1.AssetOrganisationRole {
22
22
  }
23
23
  }
24
24
  exports.AMPRIONLeaseholder = AMPRIONLeaseholder;
25
- AMPRIONLeaseholder.sparqlQuery = `
26
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
-
33
- SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
- (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
- ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
- (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
-
38
- WHERE {
39
- GRAPH<http://default/> {
40
- ?aoUUID rdf:type amp:AMPRIONLeaseholder .
41
- OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
- OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
- OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
- OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
- }
46
- }
47
- GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
25
+ AMPRIONLeaseholder.sparqlQuery = `
26
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
+ PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
+
33
+ SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
+ (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
+ ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
+ (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
+
38
+ WHERE {
39
+ GRAPH<http://default/> {
40
+ ?aoUUID rdf:type amp:AMPRIONLeaseholder .
41
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
+ OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
+ OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
+ }
46
+ }
47
+ GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
48
48
  `;
49
49
  //# sourceMappingURL=AMPRIONLeaseholder.js.map
@@ -22,28 +22,28 @@ class AMPRIONLineDistrict extends AssetOrganisationRole_1.AssetOrganisationRole
22
22
  }
23
23
  }
24
24
  exports.AMPRIONLineDistrict = AMPRIONLineDistrict;
25
- AMPRIONLineDistrict.sparqlQuery = `
26
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
-
33
- SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
- (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
- ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
- (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
-
38
- WHERE {
39
- GRAPH<http://default/> {
40
- ?aoUUID rdf:type amp:AMPRIONLineDistrict .
41
- OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
- OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
- OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
- OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
- }
46
- }
47
- GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
25
+ AMPRIONLineDistrict.sparqlQuery = `
26
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
+ PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
+
33
+ SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
+ (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
+ ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
+ (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
+
38
+ WHERE {
39
+ GRAPH<http://default/> {
40
+ ?aoUUID rdf:type amp:AMPRIONLineDistrict .
41
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
+ OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
+ OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
+ }
46
+ }
47
+ GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
48
48
  `;
49
49
  //# sourceMappingURL=AMPRIONLineDistrict.js.map
@@ -22,28 +22,28 @@ class AMPRIONServiceProvider extends AssetOrganisationRole_1.AssetOrganisationRo
22
22
  }
23
23
  }
24
24
  exports.AMPRIONServiceProvider = AMPRIONServiceProvider;
25
- AMPRIONServiceProvider.sparqlQuery = `
26
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
-
33
- SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
- (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
- ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
- (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
-
38
- WHERE {
39
- GRAPH<http://default/> {
40
- ?aoUUID rdf:type amp:AMPRIONServiceProvider .
41
- OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
- OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
- OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
- OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
- }
46
- }
47
- GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
25
+ AMPRIONServiceProvider.sparqlQuery = `
26
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
27
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
28
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
29
+ PREFIX amp: <http://amprion.net/CIM/Extensions#>
30
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
31
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
32
+
33
+ SELECT (STRAFTER(str(?aoUUID), '#_') AS ?uuid)
34
+ (CONCAT(STRBEFORE(str(?aoUUID), '#_'), '#_') AS ?baseIRI)
35
+ ?name ?description (STRAFTER(str(?oUUID), '#_') AS ?organisationUUID)
36
+ (group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
37
+
38
+ WHERE {
39
+ GRAPH<http://default/> {
40
+ ?aoUUID rdf:type amp:AMPRIONServiceProvider .
41
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
42
+ OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
43
+ OPTIONAL { ?aoUUID cim:OrganisationRole.Organisation ?oUUID .}
44
+ OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
45
+ }
46
+ }
47
+ GROUP BY ?aoUUID ?baseIRI ?name ?description ?oUUID
48
48
  `;
49
49
  //# sourceMappingURL=AMPRIONServiceProvider.js.map
@@ -52,54 +52,54 @@ class AMPRIONSpanField extends AssetContainer_1.AssetContainer {
52
52
  }
53
53
  }
54
54
  exports.AMPRIONSpanField = AMPRIONSpanField;
55
- AMPRIONSpanField.sparqlQuery = `
56
- PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
57
- PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
58
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
59
- PREFIX amp: <http://amprion.net/CIM/Extensions#>
60
- PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
61
- PREFIX afn: <http://jena.apache.org/ARQ/function#>
62
-
63
- SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
64
- ?name ?shortName ?description
65
- ?installationDate ?rcmValue ?number ?importance ?operatingLife ?exchangeYear
66
- (strafter(strafter(str(?statusEnum), '#'), '.') AS ?status)
67
-
68
- ?length ?lineAngle
69
- (strafter(strafter(str(?frontTower), '#'), '_') AS ?frontTowerUUID)
70
- (strafter(strafter(str(?backTower), '#'), '_') AS ?backTowerUUID)
71
- (strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
72
- (group_concat(STRAFTER(str(?oUUIDs), '#_');separator=',') as ?orgaRolesUUIDs)
73
- WHERE {
74
- GRAPH<http://default/> {
75
- ?mrid rdf:type amp:AMPRIONSpanField .
76
- OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
77
- OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
78
- OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
79
-
80
- OPTIONAL { ?mrid amp:Asset.rcmValue ?rcmValue .}
81
- OPTIONAL { ?mrid amp:Asset.installationDate ?installationDate .}
82
- OPTIONAL { ?mrid amp:Asset.number ?number .}
83
- OPTIONAL { ?mrid amp:Asset.importance ?importance .}
84
- OPTIONAL { ?mrid amp:Asset.operatingLife ?operatingLife .}
85
- OPTIONAL { ?mrid amp:Asset.exchangeYear ?exchangeYear .}
86
- OPTIONAL { ?mrid amp:Asset.condition ?condition .}
87
-
88
- OPTIONAL { ?mrid amp:Asset.status ?statusEnum .}
89
-
90
- OPTIONAL { ?mrid amp:AMPRIONSpanField.length ?length .}
91
- OPTIONAL { ?mrid amp:AMPRIONSpanField.lineAngle ?lineAngle .}
92
- OPTIONAL { ?mrid amp:AMPRIONSpanField.FrontTower ?frontTower .}
93
- OPTIONAL { ?mrid amp:AMPRIONSpanField.BackTower ?backTower .}
94
-
95
- OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
96
- OPTIONAL { ?mrid cim:Asset.OrganisationRoles ?oUUIDs .}
97
- }
98
- }
99
- GROUP BY ?mrid ?name ?shortName ?description
100
- ?rcmValue ?installationDate ?number ?importance
101
- ?operatingLife ?exchangeYear ?condition ?statusEnum
102
- ?length ?lineAngle ?frontTower ?backTower ?aContainerUUID
103
-
55
+ AMPRIONSpanField.sparqlQuery = `
56
+ PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
57
+ PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
58
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
59
+ PREFIX amp: <http://amprion.net/CIM/Extensions#>
60
+ PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
61
+ PREFIX afn: <http://jena.apache.org/ARQ/function#>
62
+
63
+ SELECT (STRAFTER(str(?mrid), '#_') AS ?uuid)
64
+ ?name ?shortName ?description
65
+ ?installationDate ?rcmValue ?number ?importance ?operatingLife ?exchangeYear
66
+ (strafter(strafter(str(?statusEnum), '#'), '.') AS ?status)
67
+
68
+ ?length ?lineAngle
69
+ (strafter(strafter(str(?frontTower), '#'), '_') AS ?frontTowerUUID)
70
+ (strafter(strafter(str(?backTower), '#'), '_') AS ?backTowerUUID)
71
+ (strafter(strafter(str(?aContainerUUID), '#'), '_') AS ?assetContainerUUID)
72
+ (group_concat(STRAFTER(str(?oUUIDs), '#_');separator=',') as ?orgaRolesUUIDs)
73
+ WHERE {
74
+ GRAPH<http://default/> {
75
+ ?mrid rdf:type amp:AMPRIONSpanField .
76
+ OPTIONAL { ?mrid cim:IdentifiedObject.name ?name .}
77
+ OPTIONAL { ?mrid entsoe:IdentifiedObject.shortName ?shortName .}
78
+ OPTIONAL { ?mrid cim:IdentifiedObject.description ?description .}
79
+
80
+ OPTIONAL { ?mrid amp:Asset.rcmValue ?rcmValue .}
81
+ OPTIONAL { ?mrid amp:Asset.installationDate ?installationDate .}
82
+ OPTIONAL { ?mrid amp:Asset.number ?number .}
83
+ OPTIONAL { ?mrid amp:Asset.importance ?importance .}
84
+ OPTIONAL { ?mrid amp:Asset.operatingLife ?operatingLife .}
85
+ OPTIONAL { ?mrid amp:Asset.exchangeYear ?exchangeYear .}
86
+ OPTIONAL { ?mrid amp:Asset.condition ?condition .}
87
+
88
+ OPTIONAL { ?mrid amp:Asset.status ?statusEnum .}
89
+
90
+ OPTIONAL { ?mrid amp:AMPRIONSpanField.length ?length .}
91
+ OPTIONAL { ?mrid amp:AMPRIONSpanField.lineAngle ?lineAngle .}
92
+ OPTIONAL { ?mrid amp:AMPRIONSpanField.FrontTower ?frontTower .}
93
+ OPTIONAL { ?mrid amp:AMPRIONSpanField.BackTower ?backTower .}
94
+
95
+ OPTIONAL { ?mrid cim:Asset.AssetContainer ?aContainerUUID .}
96
+ OPTIONAL { ?mrid cim:Asset.OrganisationRoles ?oUUIDs .}
97
+ }
98
+ }
99
+ GROUP BY ?mrid ?name ?shortName ?description
100
+ ?rcmValue ?installationDate ?number ?importance
101
+ ?operatingLife ?exchangeYear ?condition ?statusEnum
102
+ ?length ?lineAngle ?frontTower ?backTower ?aContainerUUID
103
+
104
104
  `;
105
105
  //# sourceMappingURL=AMPRIONSpanField.js.map