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

Support deprecated/removed/replaced terms #975

Open
ddeboer opened this issue May 16, 2023 · 0 comments
Open

Support deprecated/removed/replaced terms #975

ddeboer opened this issue May 16, 2023 · 0 comments
Labels
discuss enhancement New feature or request

Comments

@ddeboer
Copy link
Member

ddeboer commented May 16, 2023

We have the terminology source requirement to preserve outdated terms but no implementation yet to support that.

If we can agree on a way to have deprecated terms be marked in the sources (either by the source administrators or by us in our queries), we can include the status in the NoT API responses, and optionally the demonstrator.

In the terminology sources

Skosmos models this case as:

ex:old a skos:Concept ;
  owl:deprecated true ;
  skos:prefLabel "Old concept that has been replaced by a new concept"@en ;
  dct:isReplacedBy ex:new .

@rschalkrce suggested adding:

ex:old a skos:Concept ;
  skos:changeNote "Reason why the term was deprecated." ;

Other/better ideas to model this?

In our GraphQL API

A proposal (where reason could be derived from changeNote):

Term {
  ...
  deprecated {
    reason: String
    replacedBy: [RelatedTerm]
  }
}
@ddeboer ddeboer added enhancement New feature or request discuss labels May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant