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

add lang to definitions, remove lang from labels #93

Closed
VladimirAlexiev opened this issue Sep 25, 2024 · 3 comments
Closed

add lang to definitions, remove lang from labels #93

VladimirAlexiev opened this issue Sep 25, 2024 · 3 comments
Assignees
Labels
approved Approved to start work (open), or approved fix (closed) ontology Pertains to ontology representation typography whitespace, HTML etc in definitions and values

Comments

@VladimirAlexiev
Copy link
Collaborator

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:

  • label equals the local name of the term's URL, and that won't be translated. If it was written as a phrase "Asynchronous Machine User Defined", I agree with the lang tag. But as written, I'd say it should not have a lang tag
  • comment is an English sentence, so should have a lang tag

Related to #73

@VladimirAlexiev VladimirAlexiev added ontology Pertains to ontology representation typography whitespace, HTML etc in definitions and values labels Sep 25, 2024
@Sveino
Copy link
Owner

Sveino commented Sep 30, 2024

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
Copy link
Collaborator Author

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 VladimirAlexiev self-assigned this Oct 6, 2024
@VladimirAlexiev VladimirAlexiev added the approved Approved to start work (open), or approved fix (closed) label Oct 6, 2024
@VladimirAlexiev
Copy link
Collaborator Author

fix16-langTagLabelVsDefinition.ru

VladimirAlexiev added a commit to VladimirAlexiev/Inst4CIM-KG that referenced this issue Oct 12, 2024
VladimirAlexiev added a commit that referenced this issue Oct 12, 2024
add datatype analysis and map, fix #32 and #93
VladimirAlexiev added a commit to VladimirAlexiev/Inst4CIM-KG that referenced this issue Oct 12, 2024
VladimirAlexiev added a commit that referenced this issue Oct 12, 2024
add JSON-LD and fix a number of minor issues (#38, #32, #93)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Approved to start work (open), or approved fix (closed) ontology Pertains to ontology representation typography whitespace, HTML etc in definitions and values
Projects
None yet
Development

No branches or pull requests

2 participants