Sveino / Inst4CIM-KG

Instance of CIM Knowledge Graph
Apache License 2.0
4 stars 1 forks source link

`First_Terminal, Second_Terminal` use unusual separator #107

Open VladimirAlexiev opened 1 month ago

VladimirAlexiev commented 1 month ago

Slightly related to #106, I looked for correspondence between localnalname and label.

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX afn: <http://jena.apache.org/ARQ/function#>
select * {
    ?x rdfs:label ?label
    bind(afn:localname(?x) as ?localname)
    bind(replace(?localname,".*[_.]","") as ?lastPart)
    filter(str(?label) != ?lastPart && str(?label) != ?localname)
}

I found only 2 terms that use "_" as separator between words. I think that for consistency with the several thousand other terms, you should remove it

x label localname lastPart
1 cim: MutualCoupling.First_Terminal "First_Terminal"@ en "MutualCoupling.First_Terminal" "Terminal"
2 cim: MutualCoupling.Second_Terminal "Second_Terminal"@ en "MutualCoupling.Second_Terminal" "Terminal"
griddigit-ci commented 3 weeks ago

This is from the CIM. We may want to open CIM18 issue.

Sveino commented 2 weeks ago

Yes. This is a CIM18 issue. We should follow the CamelCase notation.