Skip to content

feat(gx): regenerate artifacts with sh:pattern for SPDX LicenseRef#73

Merged
jdsika merged 2 commits into
mainfrom
fix/gx-shacl-licenseref-pattern
May 7, 2026
Merged

feat(gx): regenerate artifacts with sh:pattern for SPDX LicenseRef#73
jdsika merged 2 commits into
mainfrom
fix/gx-shacl-licenseref-pattern

Conversation

@jdsika
Copy link
Copy Markdown

@jdsika jdsika commented May 7, 2026

Summary

Regenerate all Gaia-X SHACL, OWL, and JSON-LD context artifacts using the latest upstream contribution branches:

Changes

The license property shapes now include a third sh:or branch:

[ sh:pattern "^LicenseRef-[a-zA-Z0-9\\-\\.]+$" ]

This enables SHACL validation to accept custom SPDX LicenseRef- identifiers (e.g. LicenseRef-ENVITED-X-1.0) alongside the existing SPDX license list values and URL patterns.

Files changed

  • artifacts/gx/gx.shacl.ttl — 14 sh:pattern constraints now present
  • artifacts/gx/gx.owl.ttl — updated ontology
  • artifacts/gx/gx.context.jsonld — refreshed context
  • pyproject.toml — pin LinkML to @feat/envited-x-pipeline
  • submodules/linkml — pin to f1455bf40
  • submodules/service-characteristics — pin to 35d69ba
  • Pre-commit hook updates: PROPERTIES.md, docs/, registry.json

Upstream Dependencies

This PR depends on the following upstream contributions being merged:

Repo PR/MR Status
linkml/linkml #3485 fix(shaclgen): emit sh:pattern for any_of Open
service-characteristics !322 LicenseRef pattern Open

Once both upstream PRs are merged, the submodule pins can be switched back to upstream defaults.

Validation

  • All 45 simulation assets pass SHACL validation with the regenerated shapes
  • 14 sh:pattern occurrences verified in gx.shacl.ttl
  • ^LicenseRef-[a-zA-Z0-9\\-\\.]+$ pattern correctly placed as third sh:or branch on license properties

@jdsika jdsika force-pushed the fix/gx-shacl-licenseref-pattern branch 3 times, most recently from 3d9259d to 32d5fe0 Compare May 7, 2026 14:07
Refresh all Gaia-X SHACL, OWL, and JSON-LD context artifacts using:
- LinkML fork (feat/envited-x-pipeline) with gen-shacl pattern fix (#3485)
- service-characteristics (fix/envited-ontology-fixes) with LicenseRef any_of branch (!322)

The license property shapes now include a third sh:or branch:
  [ sh:pattern "^LicenseRef-[a-zA-Z0-9\\-\\.]+$" ]

This enables SHACL validation to accept SPDX LicenseRef- identifiers
alongside the existing SPDX license list and URL patterns.

Also updates pyproject.toml to pin LinkML from @feat/envited-x-pipeline.

Signed-off-by: Carlo van Driesten <carlo.van-driesten@bmw.de>
@jdsika jdsika force-pushed the fix/gx-shacl-licenseref-pattern branch from 32d5fe0 to 3078b1e Compare May 7, 2026 14:37
@jdsika jdsika changed the title fix(gx): regenerate SHACL artifacts with proper sh:pattern for LicenseRef feat(gx): regenerate artifacts with sh:pattern for SPDX LicenseRef May 7, 2026
@jdsika jdsika self-assigned this May 7, 2026
@jdsika jdsika merged commit f0042b5 into main May 7, 2026
12 checks passed
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.

1 participant