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

keeping track of name/id changes in instances #182

Open
lzehl opened this issue Nov 4, 2024 · 0 comments
Open

keeping track of name/id changes in instances #182

lzehl opened this issue Nov 4, 2024 · 0 comments

Comments

@lzehl
Copy link
Member

lzehl commented Nov 4, 2024

If an instance changes its name it typically also affects the atid which affects automation (in EBRAINS but also for the auto-population pipeline).

Discussion in the team resulted in the following solution:

Add "owl:sameAs" to instances that do change the ID and list there all alternative (old) identifiers.

DEPR: "@id": "https://openminds.ebrains.eu/instances/contentTypes/4-mat"
v3.0: "@id": "https://openminds.ebrains.eu/instances/contentTypes/application_4-mat"
latest: "@id": "https://openminds.om-i.org/instances/contentTypes/application_4-mat"
->
latest:

{
  "@context": {
    "@vocab": "https://openminds.om-i.org/props/",
    "owl": "http://www.w3.org/2002/07/owl#"
  },
  "@id": "https://openminds.om-i.org/instances/contentTypes/application_4-mat",
  "@type": "https://openminds.om-i.org/types/ContentType",
  "owl:sameAs": [
    "https://openminds.ebrains.eu/instances/contentTypes/4-mat",
    "https://openminds.ebrains.eu/instances/contentTypes/application_4-mat"
  ]

@openMetadataInitiative/openminds-developers do we do this as well if the attype is changing?
v3.0: "@id": "https://openminds.ebrains.eu/instances/technique/T1"
latest: "@id": "https://openminds.om-i.org/instances/MRIWeighting/T1"
->
latest:

{
  "@context": {
    "@vocab": "https://openminds.om-i.org/props/",
    "owl": "http://www.w3.org/2002/07/owl#"
  },
  "@id": "https://openminds.om-i.org/instances/MRIWeighting/T1",
  "@type": "https://openminds.om-i.org/types/MRIWeighting",
  "owl:sameAs": [
    "https://openminds.ebrains.eu/instances/technique/T1"
  ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant