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

bad relative URLs #5

Open
VladimirAlexiev opened this issue Aug 21, 2022 · 4 comments
Open

bad relative URLs #5

VladimirAlexiev opened this issue Aug 21, 2022 · 4 comments

Comments

@VladimirAlexiev
Copy link
Collaborator

All XML files use node IDs like rdf:ID="_f1769b90-9aeb-11e5-91da-b8763fd99c5f".
These are fragment URLs relative to the file location.
Because xml:base is not set, they end up as random URLs depending on where the file is placed, eg:

<file:///d:/Onto/proj/Nordic44/Instances/CGMES_2_4/Nordic44_CGM_37a_EQ.xml#_393332ba-86c3-4257-b77b-006e41b78a71>
        rdf:type                   cim:OperationalLimitSet ;
        entsoe2:OperationalLimitSet.RateTemperature
                <file:///d:/Onto/proj/Nordic44/Instances/CGMES_2_4/Nordic44_CGM_37a_EQ.xml#_92e7d859-88ee-49ed-8a3e-9a7a1464c196> ;
        cim:IdentifiedObject.description
                "OperationalLimitSet 15 degree Celsius" ;
        cim:IdentifiedObject.name  "OLS_15dg_5101_5103_1" ;
        cim:OperationalLimitSet.Equipment
                <file:///d:/Onto/proj/Nordic44/Instances/CGMES_2_4/Nordic44_CGM_37a_EQ.xml#_f1769bc0-9aeb-11e5-91da-b8763fd99c5f> .
@Sveino
Copy link
Owner

Sveino commented Sep 20, 2022

We are planning to move away from rdf:ID and only use rdf:about. However, I also think that we need to address the issue of xml:base. My thinking is that we can use the URL from modelingAuthoritySet for xml:base.

@griddigit-ci
Copy link
Collaborator

It will be good to know if the xml:base is CIM namespace or the MAS URI as Svein says. Do we want to convey that a given rdf node is from the cim namespace or it is something local - the MAS
Vlado, it will be good to know your thinking here.

@Sveino
Copy link
Owner

Sveino commented Sep 20, 2022

I think it make sense to think of xml:base as "who is speaking" so for power system model we should use MAS, but for the RDFS it should / could be the IEC standardisation speaking so this could be the CIM namespace.

@VladimirAlexiev
Copy link
Collaborator Author

@gridDigIt @Sveino what is MAS?
Please give examples of the two cases you describe, then I can advise.

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

No branches or pull requests

3 participants