-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align NC instance file to both CGMES 2.4 and CGMES 3.0 #123
Comments
Equivalences like this are not free!
I think the more feasible approach is to write SPARQL updates that migrate a database from the older to the newest namespace. Furthermore, equivalences don't express the idea of migrating namespaces across versions (16->17->18) because:
ps: I see I said the same (but in more detail) in #70 |
"There’s No Such Thing as a Free Lunch" We need to find a way to inform the tools - as we want everything to be data/schema driven. We can come up with our own mapping or try to re-use something from Semantic web. As part of KG we would need to evaluate the best way to execute this. Primarily we are now looking into SHACL validation that can support multiple versions. Good point that the operation is symmetric: @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix cim: <https://cim.ucaiug.io/ns#> .
@prefix cim16: <http://iec.ch/TC57/2013/CIM-schema-cim16#> .
@prefix cim17: <http://iec.ch/TC57/CIM100#> .
cim:Equipment owl:equivalentClass cim16:Equipment .
cim:Equipment owl:equivalentClass cim17:Equipment . This statement does not cover all the requirement in regards to the migrating namespaces across versions (16->17->18). However, this solution will be based on the fact that there will be different version of the same namespace. |
Vlado, I was thinking that it is possible to define "mapping" or basically a transformation technique between 2 graphs (e.g. the graphs of the RDFS) by using SPARQL as we can also express mathematical relationship between properties. I attempted to so a small sample which I can try to find. Perhaps this is a bit bigger scope than what is in this issue |
cim:Equipment dct:replaces cim16:Equipment, cim17:Equipment. # class
cim:Equipment.inService dct:replaces cim17:Equipment.inService. # prop that was added in cim17
insert {
graph <new-graph> {
?x a cim:Equipment ?y
}
} where {
graph <old-graph> {
?x a cim17:Equipment
}
};
insert {
graph <new-graph> {
?x cim:Equipment.inService ?y
}
} where {
graph <old-graph> {
?x cim17:Equipment.inService ?y
}
};
|
CGMES Network Code (NC) instance data will follow the same namespace that will be used for the CIMJSON-LD. However, we need to defined a machine-understandable structure and syntax to explain the mapping between the namespaces. In addition, we would like that the same Network Code instance file should work with CGMES 2.4 (CIM16) and CGMES 3.0 (17).
The text was updated successfully, but these errors were encountered: