Skip to content

Give SHACL findings stable, readable node references - #30

Merged
mauanga merged 5 commits into
mainfrom
shacl-stable-node-identity
Jul 31, 2026
Merged

Give SHACL findings stable, readable node references#30
mauanga merged 5 commits into
mainfrom
shacl-stable-node-identity

Conversation

@mauanga

@mauanga mauanga commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Findings pointed at random blank-node hashes for JSON-LD nodes without an @id - they changed every run and matched nothing in the source. Paths came out as hashes too.

Now a finding references a node by its @id, or by a stable JSON pointer (urn:wl:node:/...) when it has none. Paths render as readable names (e.g. address.addressCountry). Real @ids are left alone, and the pointer ids are only used during validation.

@mauanga
mauanga requested a review from rpanfili July 14, 2026 00:33
@rpanfili

Copy link
Copy Markdown
Contributor

@claude please review

@mauanga
mauanga force-pushed the shacl-stable-node-identity branch from 079c226 to 0aaec16 Compare July 17, 2026 10:00
Comment thread wordlift_sdk/validation/shacl.py Outdated
@mauanga
mauanga requested a review from rpanfili July 21, 2026 08:24
Comment thread wordlift_sdk/validation/shacl.py Outdated
@mauanga
mauanga requested a review from rpanfili July 28, 2026 12:33
Comment thread wordlift_sdk/validation/shacl.py Outdated
@mauanga
mauanga requested a review from rpanfili July 30, 2026 12:03

@rpanfili rpanfili left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, please take care of updating the CHANGELOG file also.

@mauanga
mauanga force-pushed the shacl-stable-node-identity branch from 7d2b25b to 2b8f4f8 Compare July 31, 2026 08:53
@mauanga
mauanga force-pushed the shacl-stable-node-identity branch from 2b8f4f8 to 9a2eb54 Compare July 31, 2026 09:30
@mauanga
mauanga merged commit e7323f0 into main Jul 31, 2026
12 checks passed
@mauanga
mauanga deleted the shacl-stable-node-identity branch July 31, 2026 09:44
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