Skip to content
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

replace cims:inverseRoleName by owl:inverseOf #26

Closed
VladimirAlexiev opened this issue Jul 24, 2024 · 3 comments
Closed

replace cims:inverseRoleName by owl:inverseOf #26

VladimirAlexiev opened this issue Jul 24, 2024 · 3 comments
Labels
ontology Pertains to ontology representation

Comments

@VladimirAlexiev
Copy link
Collaborator

Each CIM object property has an inverse, eg

nc:Terminal.VoltageAngleLimit
        rdf:type              rdf:Property ;
        rdfs:comment          "The voltage angle limit which has this reference angle terminal." ;
        rdfs:domain           cim:Terminal ;
        rdfs:range            nc:VoltageAngleLimit ;
        cims:inverseRoleName  nc:VoltageAngleLimit.AngleReferenceTerminal ;

nc:VoltageAngleLimit.AngleReferenceTerminal
        rdf:type              rdf:Property ;
        rdfs:comment          "The angle reference terminal for the voltage angle limit." ;
        rdfs:domain           nc:VoltageAngleLimit ;
        rdfs:range            cim:Terminal ;
        cims:inverseRoleName  nc:Terminal.VoltageAngleLimit ;

But cims:inverseRoleName is a non-standard prop, and its name is inaccurate (this is the inverse relation, not its Name).
So replace it with the standard prop owl:inverseOf.

@Sveino Sveino transferred this issue from Sveino/CGMES-NC Sep 12, 2024
@Sveino
Copy link
Owner

Sveino commented Sep 12, 2024

Yes, This should be done. You can see that we did this for RDFS501ED2 export:

<owl:inverseOf rdf:resource="#ACDCConverter.PccTerminal"/>

@VladimirAlexiev
Copy link
Collaborator Author

Yes I saw it in CGMES 3.0.
Do you also plan to do it for NC, or that will stay at v2.3 for now?

@VladimirAlexiev
Copy link
Collaborator Author

fix11-inverseOf-26.ru

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ontology Pertains to ontology representation
Projects
None yet
Development

No branches or pull requests

2 participants