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

Proposal: Add links to the SPDX 2.X equivalent properties and classes #970

Open
goneall opened this issue Jun 4, 2024 · 3 comments
Open
Assignees
Milestone

Comments

@goneall
Copy link
Member

goneall commented Jun 4, 2024

In working on a utility to upgrade SPDX 2.X documents to SPDX 3.0, I need to come up with a mapping of equivalent properties and classes - specifically the URI's for those classes and properties.

In RDF, there is an owl:sameAs which I suggest we use to correlate the SPDX 3.0 terms to SPDX 2.X. This should only be used if the classes and or properties are semantically the same.

The proposal is to add an additional metadata to the markdown for classes and properties with the value being the SPDX 2.X URI.

In the spec parser, we would translate that metadata to an owl:sameAs property on the SPDX 3 class or property shape.

Propsed metadata term: Spdx2Uri:

@goneall
Copy link
Member Author

goneall commented Jun 4, 2024

Discussed on tech call 4 June:

  • Agree not to use owl:sameAs - since the classes have different properties and are not technically the same
  • Could use owl:seeAlso - which references the previous version
  • Not much value having it in RDF
  • Proposal to have a JSON file either generated or hand maintained
  • There may be value in capturing this in the generated website
  • JSON format should be "pretty"
  • Start JSON format - put it in the spec repo

@goneall goneall self-assigned this Jun 4, 2024
@goneall
Copy link
Member Author

goneall commented Jun 4, 2024

Transferring to the spec repo since we agreed we will not maintain the mappings there and not in the model repo

@goneall goneall transferred this issue from spdx/spdx-3-model Jun 4, 2024
@kestewart kestewart added this to the 3.0.1 milestone Aug 11, 2024
@goneall
Copy link
Member Author

goneall commented Aug 27, 2024

Moving over to the 3.1 milestone. It's quite a bit of work, so we need some volunteers.

@goneall goneall modified the milestones: 3.0.1, 3.1 Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants