Sveino / Inst4CIM-KG

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

add lang to definitions, remove lang from labels #93

Closed VladimirAlexiev closed 1 month ago

VladimirAlexiev commented 1 month ago

CIM terms are defined like this:

cim:AsynchronousMachineUserDefined a owl:Class ;
  rdfs:label "AsynchronousMachineUserDefined"@en ;
  rdfs:comment "Asynchronous machine whose dynamic behaviour is described by a user-defined model." ;

The label has lang tag, the comment doesn't. I think it should be the other way around:

Related to https://github.com/Sveino/Inst4CIM-KG/issues/73

Sveino commented 1 month ago

Yes, this is a mistake. In ED2 we used skos:definition rather than rdfs:comment I like the idea of clearly state that something is a definition rather than just a comment. What do you think?

VladimirAlexiev commented 1 month ago

Ontologies have traditionally used rdfs:comment for definitions. Taxonomies use skos:definition and not just for Concepts, but some also use it for ConceptScheme. I think you should keep rdfs:comment; and can use extra SKOS props (eg skos:scopeNote) for additional aspects.

VladimirAlexiev commented 1 month ago

fix16-langTagLabelVsDefinition.ru