Skip to content

Assign person org stable#265

Closed
bact wants to merge 2 commits intow3c:devfrom
bact:assign-person-org-stable-id
Closed

Assign person org stable#265
bact wants to merge 2 commits intow3c:devfrom
bact:assign-person-org-stable-id

Conversation

@bact
Copy link
Collaborator

@bact bact commented Mar 24, 2025

Pull Request

Important Note: Please make sure you have read through the PR checklist

bact added 2 commits March 21, 2025 07:28
Assign stable ID to blank nodes, to have a more stable changeset.

Note that it is recommended that a blank node should be anonymous and it is discouraged to rely on its ID. We should review if it is ok to make the IDs stable in our context.

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact closed this Mar 24, 2025
@bact
Copy link
Collaborator Author

bact commented Mar 24, 2025

Sorry. This is a mistake. Was meant to test this only with my own repo.

@coolharsh55
Copy link
Collaborator

@bact thanks for thinking about this, though I think the code is getting complicated for what should be a simple task. Blank nodes famously don't have stable IDs, and we're only going to have complications if we try to assign them some. So instead, how about we create local IDs for each contributor e.g. contributor-XYZ and use that as the ID? This would solve the problem of changing blank node ids in each commit.

@bact
Copy link
Collaborator Author

bact commented Mar 24, 2025

Local IDs should do. Probably the same applies for source web pages.

@coolharsh55
Copy link
Collaborator

Yes, good point re. webpages. Let's create this as an issue, and I think this will make life easier for anyone generating the code, so should be prioritised.

coolharsh55 added a commit that referenced this pull request Apr 7, 2025
- #273 use DPV_VERSION in links
- #274 stable BNode ids for contributors, orgs, sources
- #271 typos in references
- #265 -- same as #274
- changes affect all RDF and HTML
- this commit should be the last commit where random BNodes are used for
  person etc. and the subsequent commits should be cleaner

Co-authored-by: Arthit Suriyawongkul <arthit@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants