@enervance/insight-cim-model 0.0.42 → 0.0.44
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.
- package/dist/config/westnetz-neplan/neplan-load.config.js +1 -1
- package/dist/config/westnetz-neplan/neplan-load.config.js.map +1 -1
- package/dist/constants/cim-class-definition.js +1 -0
- package/dist/constants/cim-class-definition.js.map +1 -1
- package/dist/constants/cim-class-names.d.ts +1 -0
- package/dist/constants/cim-class-names.js +1 -0
- package/dist/constants/cim-class-names.js.map +1 -1
- package/dist/converter/integral7/converter-i7.js +18 -36
- package/dist/converter/integral7/converter-i7.js.map +1 -1
- package/dist/converter/integral7/interface-i7/export-frame-i7.d.ts +1 -0
- package/dist/converter/integral7/interface-i7/export-frame-i7.js +33 -0
- package/dist/converter/integral7/interface-i7/export-frame-i7.js.map +1 -1
- package/dist/etl/etl-neplan/etl-neplan-csv.js +39 -39
- package/dist/etl/etl-neplan/etl-neplan-geo.js +16 -16
- package/dist/etl/etl-neplan/etl-neplan.js +17 -17
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/model/assetinfo/SwitchInfo.js +19 -19
- package/dist/model/assetinfo/WireInfo.js +3 -3
- package/dist/model/assets/Asset.js +30 -30
- package/dist/model/assets/AssetDeployment.js +48 -48
- package/dist/model/assets/Facility.js +36 -36
- package/dist/model/common/CoordinateSystem.js +17 -17
- package/dist/model/common/Location.js +22 -22
- package/dist/model/common/PositionPoint.js +25 -25
- package/dist/model/core/BaseVoltage.js +22 -22
- package/dist/model/core/ConnectivityNode.js +24 -24
- package/dist/model/core/Feeder.js +29 -29
- package/dist/model/core/Terminal.js +31 -31
- package/dist/model/dc/DCLine.js +17 -17
- package/dist/model/diagram/Diagram.d.ts +1 -1
- package/dist/model/diagram/Diagram.js +22 -22
- package/dist/model/diagram/Diagram.js.map +1 -1
- package/dist/model/diagram/DiagramObject.js +26 -26
- package/dist/model/diagram/DiagramObjectPoint.js +47 -47
- package/dist/model/extensions/amprion/assets/AMPRIONAssetCommunicationEquipment.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONAssetConstructionMaintenance.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONAssetPrimaryEquipment.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONAssetSecondaryEquipment.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONContractingAuthority.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONCountry.js +19 -19
- package/dist/model/extensions/amprion/assets/AMPRIONFacility.js +60 -60
- package/dist/model/extensions/amprion/assets/AMPRIONLeaseholder.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONLineDistrict.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONServiceProvider.js +22 -22
- package/dist/model/extensions/amprion/assets/AMPRIONSpanField.js +49 -49
- package/dist/model/extensions/amprion/assets/AMPRIONState.js +21 -21
- package/dist/model/extensions/amprion/assets/AMPRIONTower.js +50 -50
- package/dist/model/extensions/amprion/assets/AMPRIONWire.js +68 -68
- package/dist/model/extensions/amprion/core/AMPRIONBay.js +26 -26
- package/dist/model/extensions/amprion/core/AMPRIONSubstation.js +25 -25
- package/dist/model/extensions/enervance/assetinfo/EVWireInfo.js +38 -38
- package/dist/model/extensions/enervance/diagram/EVDiagram.d.ts +5 -0
- package/dist/model/extensions/enervance/diagram/EVDiagram.js +17 -0
- package/dist/model/extensions/enervance/diagram/EVDiagram.js.map +1 -0
- package/dist/model/extensions/neplan-westnetz/assets/WNFacility.js +33 -33
- package/dist/model/extensions/neplan-westnetz/assets/WNWireInfo.js +40 -40
- package/dist/model/extensions/neplan-westnetz/core/WNConnectivityNode.js +31 -31
- package/dist/model/extensions/neplan-westnetz/core/WNFeeder.js +34 -34
- package/dist/model/generation/GeneratingUnit.js +36 -36
- package/dist/model/loadmodel/ConformLoadGroup.js +22 -22
- package/dist/model/loadmodel/LoadArea.js +21 -21
- package/dist/model/loadmodel/SubLoadArea.js +22 -22
- package/dist/model/operationallimits/CurrentLimit.js +19 -19
- package/dist/model/operationallimits/OperationalLimitSet.js +18 -18
- package/dist/model/operationallimits/OperationalLimitType.js +16 -16
- package/dist/model/statevariables/SvPowerFlow.js +20 -20
- package/dist/model/topology/TopologicalNode.js +25 -25
- package/dist/model/wires/PowerTransformer.js +27 -27
- package/dist/model/wires/PowerTransformerEnd.js +31 -31
- package/dist/model/wires/RegulatingControl.js +31 -31
- package/dist/model/wires/Switch.js +32 -32
- package/dist/util/cim.model.util.js +2 -0
- package/dist/util/cim.model.util.js.map +1 -1
- package/package.json +1 -1
|
@@ -89,9 +89,9 @@ class DiagramObject extends IdentifiedObject_1.IdentifiedObject {
|
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
createNewStatementSPARQL() {
|
|
92
|
-
return `
|
|
93
|
-
<${this.baseIRI}${this.mrid}>
|
|
94
|
-
a cim:DiagramObject .
|
|
92
|
+
return `
|
|
93
|
+
<${this.baseIRI}${this.mrid}>
|
|
94
|
+
a cim:DiagramObject .
|
|
95
95
|
`;
|
|
96
96
|
}
|
|
97
97
|
resolveAttributesFusekiJSON(value) {
|
|
@@ -269,28 +269,28 @@ class DiagramObject extends IdentifiedObject_1.IdentifiedObject {
|
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
exports.DiagramObject = DiagramObject;
|
|
272
|
-
DiagramObject.sparqlQuery = `
|
|
273
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
274
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
275
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
276
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
277
|
-
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
278
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
279
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
280
|
-
|
|
281
|
-
SELECT (strafter(strafter(str(?doUUID), '#'), '_') AS ?uuid)
|
|
282
|
-
(CONCAT(STRBEFORE(str(?doUUID), '#_'), '#_') AS ?baseIRI)
|
|
283
|
-
(strafter(strafter(str(?dUUID), '#'), '_') AS ?diagramUUID)
|
|
284
|
-
(strafter(strafter(str(?psrUUID), '#'), '_') AS ?identifiedObjectUUID) ?drawingOrder ?rotation
|
|
285
|
-
|
|
286
|
-
WHERE {
|
|
287
|
-
GRAPH <http://default/>{
|
|
288
|
-
?doUUID rdf:type cim:DiagramObject .
|
|
289
|
-
OPTIONAL {?doUUID cim:DiagramObject.drawingOrder ?drawingOrder .}
|
|
290
|
-
OPTIONAL {?doUUID cim:DiagramObject.rotation ?rotation .}
|
|
291
|
-
OPTIONAL {?doUUID cim:DiagramObject.IdentifiedObject ?psrUUID .}
|
|
292
|
-
OPTIONAL {?doUUID cim:DiagramObject.Diagram ?dUUID .}
|
|
293
|
-
}
|
|
294
|
-
}
|
|
272
|
+
DiagramObject.sparqlQuery = `
|
|
273
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
274
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
275
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
276
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
277
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
278
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
279
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
280
|
+
|
|
281
|
+
SELECT (strafter(strafter(str(?doUUID), '#'), '_') AS ?uuid)
|
|
282
|
+
(CONCAT(STRBEFORE(str(?doUUID), '#_'), '#_') AS ?baseIRI)
|
|
283
|
+
(strafter(strafter(str(?dUUID), '#'), '_') AS ?diagramUUID)
|
|
284
|
+
(strafter(strafter(str(?psrUUID), '#'), '_') AS ?identifiedObjectUUID) ?drawingOrder ?rotation
|
|
285
|
+
|
|
286
|
+
WHERE {
|
|
287
|
+
GRAPH <http://default/>{
|
|
288
|
+
?doUUID rdf:type cim:DiagramObject .
|
|
289
|
+
OPTIONAL {?doUUID cim:DiagramObject.drawingOrder ?drawingOrder .}
|
|
290
|
+
OPTIONAL {?doUUID cim:DiagramObject.rotation ?rotation .}
|
|
291
|
+
OPTIONAL {?doUUID cim:DiagramObject.IdentifiedObject ?psrUUID .}
|
|
292
|
+
OPTIONAL {?doUUID cim:DiagramObject.Diagram ?dUUID .}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
295
|
`;
|
|
296
296
|
//# sourceMappingURL=DiagramObject.js.map
|
|
@@ -60,9 +60,9 @@ class DiagramObjectPoint extends IdentifiedObject_1.IdentifiedObject {
|
|
|
60
60
|
this.notifyObservers();
|
|
61
61
|
}
|
|
62
62
|
createNewStatementSPARQL() {
|
|
63
|
-
return `
|
|
64
|
-
<${this.baseIRI}${this.mrid}>
|
|
65
|
-
a cim:DiagramObjectPoint .
|
|
63
|
+
return `
|
|
64
|
+
<${this.baseIRI}${this.mrid}>
|
|
65
|
+
a cim:DiagramObjectPoint .
|
|
66
66
|
`;
|
|
67
67
|
}
|
|
68
68
|
getUpdateSPARQL() {
|
|
@@ -134,50 +134,50 @@ class DiagramObjectPoint extends IdentifiedObject_1.IdentifiedObject {
|
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
exports.DiagramObjectPoint = DiagramObjectPoint;
|
|
137
|
-
DiagramObjectPoint.sparqlQuery = `
|
|
138
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
139
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
140
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
141
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
142
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
143
|
-
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
|
144
|
-
SELECT (strafter(strafter(str(?dopUUID), "#"), "_") AS ?uuid)
|
|
145
|
-
(CONCAT(STRBEFORE(str(?dopUUID), '#_'), '#_') AS ?baseIRI)
|
|
146
|
-
(strafter(strafter(str(?doUUID), "#"), "_") AS ?diagramObjectUUID)
|
|
147
|
-
?xPosition ?yPosition ?sequenceNumber
|
|
148
|
-
|
|
149
|
-
WHERE {
|
|
150
|
-
GRAPH <http://default/>{
|
|
151
|
-
?dopUUID rdf:type cim:DiagramObjectPoint .
|
|
152
|
-
OPTIONAL {?dopUUID cim:DiagramObjectPoint.DiagramObject ?doUUID .}
|
|
153
|
-
OPTIONAL {?dopUUID cim:DiagramObjectPoint.xPosition ?xPosition .}
|
|
154
|
-
OPTIONAL {?dopUUID cim:DiagramObjectPoint.yPosition ?yPosition .}
|
|
155
|
-
OPTIONAL {?dopUUID cim:DiagramObjectPoint.sequenceNumber ?sequenceNumber .}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
ORDER BY ?diagramObjectUUID ASC(xsd:integer(?sequenceNumber))
|
|
137
|
+
DiagramObjectPoint.sparqlQuery = `
|
|
138
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
139
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
140
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
141
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
142
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
143
|
+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
|
144
|
+
SELECT (strafter(strafter(str(?dopUUID), "#"), "_") AS ?uuid)
|
|
145
|
+
(CONCAT(STRBEFORE(str(?dopUUID), '#_'), '#_') AS ?baseIRI)
|
|
146
|
+
(strafter(strafter(str(?doUUID), "#"), "_") AS ?diagramObjectUUID)
|
|
147
|
+
?xPosition ?yPosition ?sequenceNumber
|
|
148
|
+
|
|
149
|
+
WHERE {
|
|
150
|
+
GRAPH <http://default/>{
|
|
151
|
+
?dopUUID rdf:type cim:DiagramObjectPoint .
|
|
152
|
+
OPTIONAL {?dopUUID cim:DiagramObjectPoint.DiagramObject ?doUUID .}
|
|
153
|
+
OPTIONAL {?dopUUID cim:DiagramObjectPoint.xPosition ?xPosition .}
|
|
154
|
+
OPTIONAL {?dopUUID cim:DiagramObjectPoint.yPosition ?yPosition .}
|
|
155
|
+
OPTIONAL {?dopUUID cim:DiagramObjectPoint.sequenceNumber ?sequenceNumber .}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
ORDER BY ?diagramObjectUUID ASC(xsd:integer(?sequenceNumber))
|
|
159
159
|
`;
|
|
160
|
-
DiagramObjectPoint.sparqlUpdateQuery = `
|
|
161
|
-
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
162
|
-
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
163
|
-
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
164
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
165
|
-
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
166
|
-
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
167
|
-
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
168
|
-
|
|
169
|
-
WITH <http://default/>
|
|
170
|
-
DELETE { cim:_21fd0891-f899-45c2-ad88-204d0a488dda cim:DiagramObjectPoint.xPosition "10" .
|
|
171
|
-
cim:_21fd0891-f899-45c2-ad88-204d0a488dda cim:DiagramObjectPoint.yPosition "4202"
|
|
172
|
-
|
|
173
|
-
}
|
|
174
|
-
INSERT { cim:_21fd0891-f899-45c2-ad88-204d0a488dda cim:DiagramObjectPoint.xPosition "10" .
|
|
175
|
-
cim:_21fd0891-f899-45c2-ad88-204d0a488dda cim:DiagramObjectPoint.yPosition "10"
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
WHERE{ ?s ?p ?o .
|
|
180
|
-
FILTER (?o = "1")
|
|
181
|
-
}
|
|
160
|
+
DiagramObjectPoint.sparqlUpdateQuery = `
|
|
161
|
+
PREFIX cim: <http://iec.ch/TC57/2013/CIM-schema-cim16#>
|
|
162
|
+
PREFIX enervance: <http://enervance.com/CIM/Extensions#>
|
|
163
|
+
PREFIX entsoe: <http://entsoe.eu/CIM/SchemaExtension/3/1#>
|
|
164
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
165
|
+
PREFIX amp: <http://amprion.net/2018/cim_extensions#>
|
|
166
|
+
PREFIX apf: <http://jena.hpl.hp.com/ARQ/property#>
|
|
167
|
+
PREFIX afn: <http://jena.apache.org/ARQ/function#>
|
|
168
|
+
|
|
169
|
+
WITH <http://default/>
|
|
170
|
+
DELETE { cim:_21fd0891-f899-45c2-ad88-204d0a488dda cim:DiagramObjectPoint.xPosition "10" .
|
|
171
|
+
cim:_21fd0891-f899-45c2-ad88-204d0a488dda cim:DiagramObjectPoint.yPosition "4202"
|
|
172
|
+
|
|
173
|
+
}
|
|
174
|
+
INSERT { cim:_21fd0891-f899-45c2-ad88-204d0a488dda cim:DiagramObjectPoint.xPosition "10" .
|
|
175
|
+
cim:_21fd0891-f899-45c2-ad88-204d0a488dda cim:DiagramObjectPoint.yPosition "10"
|
|
176
|
+
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
WHERE{ ?s ?p ?o .
|
|
180
|
+
FILTER (?o = "1")
|
|
181
|
+
}
|
|
182
182
|
`;
|
|
183
183
|
//# sourceMappingURL=DiagramObjectPoint.js.map
|
|
@@ -22,27 +22,27 @@ class AMPRIONAssetCommunicationEquipment extends AssetOrganisationRole_1.AssetOr
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
exports.AMPRIONAssetCommunicationEquipment = AMPRIONAssetCommunicationEquipment;
|
|
25
|
-
AMPRIONAssetCommunicationEquipment.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
|
|
36
|
-
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
-
|
|
38
|
-
WHERE {
|
|
39
|
-
GRAPH<http://default/> {
|
|
40
|
-
?aoUUID rdf:type amp:AMPRIONAssetCommunicationEquipment .
|
|
41
|
-
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
-
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
-
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
25
|
+
AMPRIONAssetCommunicationEquipment.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
|
|
36
|
+
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
+
|
|
38
|
+
WHERE {
|
|
39
|
+
GRAPH<http://default/> {
|
|
40
|
+
?aoUUID rdf:type amp:AMPRIONAssetCommunicationEquipment .
|
|
41
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
+
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
47
|
`;
|
|
48
48
|
//# sourceMappingURL=AMPRIONAssetCommunicationEquipment.js.map
|
|
@@ -22,27 +22,27 @@ class AMPRIONAssetConstructionMaintenance extends AssetOrganisationRole_1.AssetO
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
exports.AMPRIONAssetConstructionMaintenance = AMPRIONAssetConstructionMaintenance;
|
|
25
|
-
AMPRIONAssetConstructionMaintenance.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
|
|
36
|
-
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
-
|
|
38
|
-
WHERE {
|
|
39
|
-
GRAPH<http://default/> {
|
|
40
|
-
?aoUUID rdf:type amp:AMPRIONAssetConstructionMaintenance .
|
|
41
|
-
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
-
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
-
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
25
|
+
AMPRIONAssetConstructionMaintenance.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
|
|
36
|
+
(group_concat(STRAFTER(str(?aUUIDs), '#_');separator=',') as ?assetUUIDs)
|
|
37
|
+
|
|
38
|
+
WHERE {
|
|
39
|
+
GRAPH<http://default/> {
|
|
40
|
+
?aoUUID rdf:type amp:AMPRIONAssetConstructionMaintenance .
|
|
41
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.name ?name .}
|
|
42
|
+
OPTIONAL { ?aoUUID cim:IdentifiedObject.description ?description .}
|
|
43
|
+
OPTIONAL { ?aoUUID cim:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
47
|
`;
|
|
48
48
|
//# sourceMappingURL=AMPRIONAssetConstructionMaintenance.js.map
|
|
@@ -22,27 +22,27 @@ 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
|
|
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:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
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
|
|
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:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
47
|
`;
|
|
48
48
|
//# sourceMappingURL=AMPRIONAssetPrimaryEquipment.js.map
|
|
@@ -22,27 +22,27 @@ 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
|
|
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:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
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
|
|
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:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
47
|
`;
|
|
48
48
|
//# sourceMappingURL=AMPRIONAssetSecondaryEquipment.js.map
|
|
@@ -22,27 +22,27 @@ 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
|
|
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:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
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
|
|
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:AssetOrganisationRole.Assets ?aUUIDs .}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
GROUP BY ?aoUUID ?baseIRI ?name ?description
|
|
47
47
|
`;
|
|
48
48
|
//# 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
|