owsybl-cgmes-measurements.6.3.1.source-code.CGMES-Meas.sparql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powsybl-cgmes-measurements Show documentation
Show all versions of powsybl-cgmes-measurements Show documentation
Allows to post process CGMES import to import measurements
#
# Copyright (c) 2021, RTE (http://www.rte-france.com)
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# query: analogs
SELECT *
WHERE {
{ GRAPH ?graph {
?Analog
a cim:Analog ;
cim:Measurement.PowerSystemResource ?powerSystemResource ;
cim:Measurement.measurementType ?type .
OPTIONAL { ?Analog cim:Measurement.Terminal ?Terminal }
}}
}
# query: discretes
SELECT *
WHERE {
{ GRAPH ?graph {
?Discrete
a cim:Discrete ;
cim:Measurement.PowerSystemResource ?powerSystemResource ;
cim:Measurement.measurementType ?type .
OPTIONAL { ?Discrete cim:Measurement.Terminal ?Terminal }
}}
}
# query: bays
SELECT *
WHERE {
{ GRAPH ?graph {
?Bay
a cim:Bay ;
cim:Bay.VoltageLevel ?VoltageLevel
}}
}