Repository navigation
Add VANN preferred namespace metadata (#217) - #281
Open
matthiasautrata wants to merge 2 commits into
Open
matthiasautrata wants to merge 2 commits into
matthiasautrata wants to merge 2 commits into
Conversation
Without these annotations, tools such as cmemc can't tell which graph to use when importing this ontology. [Carried forward from EKGF#170 onto develop for EKGF#217 by Matthias Autrata: conflict with owl:versionIRI resolved, the vann prefix declaration sorted into the prefix block, and vann:preferredNamespaceUri set to the current namespace, https://ekgf.org/dprod/spec/develop/, instead of https://www.omg.org/spec/DPROD/. The namespace move to OMG (EKGF#275 step 10) changes it along with the ontology IRI.]
Resolves: EKGF#217 The ontology gets vann:preferredNamespacePrefix and vann:preferredNamespaceUri from EKGF#170 (previous commit). The shapes file is an owl:Ontology of its own and is imported into its own graph, so it gets them too, with its own prefix, dprod-shapes, and namespace. tests/test_vann_metadata.py checks, for both files, that the preferred namespace is the ontology IRI as a plain literal, and that the preferred prefix is declared for it. The namespace move (EKGF#275 step 10) therefore can't leave a stale value behind. Bump dct:modified on both files. Refs: EKGF#170, EKGF#275 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
matthiasautrata
requested review from
FroehlichMarcel,
jgeluk,
joshcornejo,
rivettp and
tonyseale
as code owners
October 13, 2026 21:37
|
@matthiasautrata is attempting to deploy a commit to the EKGF Team on Vercel. A member of the Team first needs to authorize it. |
15 tasks
Member
|
Since
Agree with leaving the contracts files out for now; worth a follow-up issue for the contracts namespace and the |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #217. Step 9 of #275. Carries #170 forward.
This adds
vann:preferredNamespacePrefixandvann:preferredNamespaceUrito the DPROD ontology and shapes, so deployment and import tooling (e.g. eccenca's cmemc) can tell which graph an imported file belongs to.Commits
d4034e4, Sebastian Tramp's commit from add vann annotations in order to allow automatic deployment #170, keeps his authorship. A note in the commit message records the changes made while carrying it forward:owl:versionIRIis resolved.vann:prefix is sorted into the prefix block.vann:preferredNamespaceUriis now the current namespace,https://ekgf.org/dprod/spec/develop/, instead ofhttps://www.omg.org/spec/DPROD/.70a5727adds the same annotations todprod-shapes.ttl, which is anowl:Ontologyimported into its own graph. They use its own prefix (dprod-shapes) and namespace. The commit also addstests/test_vann_metadata.pyand bumpsdct:modifiedon both files.Decisions
vann:preferredNamespacePrefixvann:preferredNamespaceUriontology/dprod/dprod-ontology.ttldprodhttps://ekgf.org/dprod/spec/develop/ontology/dprod/dprod-shapes.ttldprod-shapeshttps://ekgf.org/dprod/spec/develop/shapes/ontologies-vann-preferredNamespaceUricheck expects; both RDFUnit VANN checks currently fail inontology/dprod/artifacts/. The test enforces it, so the namespace move (DPROD Contracts: cleanup tracking — merge order for open contracts PRs, Schedule model, namespace #275 step 10) can't leave a stale value behind.…/develop/contracts/) differs from the namespace of its terms (dprod:).dprod-contracts-shapes.ttlbindsdprod-shapes:to…/develop/contracts/shapes/, so two namespaces share one prefix.Tests
develop).vann:.🤖 Generated with Claude Code