Sveino / Inst4CIM-KG

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

remove spaces and lang tags from key values #47

Open VladimirAlexiev opened 1 week ago

VladimirAlexiev commented 1 week ago

Key values must be spelled with ultimate care because... well, they are key. This is similar to https://github.com/Sveino/Inst4CIM-KG/issues/6 but worse.

Extraneous spaces in key values are NOK because:

Bad examples that come from https://github.com/Sveino/Inst4CIM-KG/issues/10, https://github.com/Sveino/Inst4CIM-KG/issues/38:

cim:UnitSymbol.VA a owl:NamedIndividual, owl:Thing ;
  rdfs:label "VA "@en ;
  eq:isenum "True" ;

cim:UnitMultiplier.M a owl:NamedIndividual, owl:Thing ;
  rdfs:label "M "@en ;

cim:Temperature.multiplier
  sc:isFixed "True ";
  dy:isFixed "True".
griddigit-ci commented 1 week ago

On the spaces. It will be good to know in which RDFS you find this. I checked in UML and I see that there are no spaces. It could be a bug in RDFS export if this is only in the 501 Ed2 Beta - I expect this is a bug in CimSyntaxGen prototype that was done 4 years ago

Also as a background. It looks like we have an agreement now to exchange in basic units i.e. no M but in form 1e6

VladimirAlexiev commented 6 days ago

@griddigit-ci

VladimirAlexiev commented 4 days ago

We checked, this only happens in Ed2 not in 2020.