Conversation
DCMI Metadata Terms give dcterms:creator, dcterms:contributor, dcterms:publisher and dcterms:rightsHolder the range dcterms:Agent, so their value is a resource, like the properties gen-owl already emits as IRIs. As an annotation they still came out as literals: an ontology header could name its publisher only as "https://..." text, and an ORCID or organisation IRI given as dcterms:creator was not followable. They join the IRI-valued metadata properties: a value that is an absolute IRI or a CURIE with a declared prefix is emitted as an IRI; an agent named in plain text keeps its literal. Refs: linkml#3546 Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
jdsika
added a commit
to ASCS-eV/ontology-management-base
that referenced
this pull request
Oct 2, 2026
Moves linkml and linkml-runtime to feat/envited-x-pipeline at e3081ef8b, which adds ASCS-eV/linkml#36 (stacked on #33): gen-owl emits dcterms:creator, dcterms:contributor, dcterms:publisher and dcterms:rightsHolder as IRIs when their value is an IRI, as DCMI gives them the range dcterms:Agent. A value in plain text keeps its literal. No committed artifact changes: no schema uses these terms with an IRI yet. Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
7 tasks done
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.
Summary
Stacked on #33 (base
feat/owlgen-iri-valued-metadata); the diff is the delta only. Refs linkml#3546.DCMI Metadata Terms give
dcterms:creator,dcterms:contributor,dcterms:publisheranddcterms:rightsHolderthe rangedcterms:Agent: their value is a resource, like the properties #33 emits as IRIs. As annotations they still came out as literals, so an ontology header could name its publisher only as"https://..."text.They join
IRI_VALUED_METADATA_PROPERTIES. As for every property in it, a value that is an absolute IRI or a CURIE with a declared prefix becomes an IRI, and an agent named in plain text keeps its literal:The
contributorsmetamodel slot (dcterms:contributor, rangeuriorcurie) already emitted IRIs; this makes the same property behave the same way as an annotation.How was this tested?
test_iri_valued_metadata_is_emitted_as_irisassertsdcterms:publisher(absolute IRI) anddcterms:rightsHolder(expanded CURIE) as IRIs; both assertions fail without the change.test_literal_valued_metadata_stays_literalkeepsdcterms:creator: The Example Teamas a literal.pytest tests/linkml/test_generators -m "not kroki": 1776 passed, 41 skipped, 3 xfailed.pytest tests/linkml/test_base/test_metamodel.py tests/linkml/test_biolink_model --with-slow --with-biolink: 21 passed, 2 skipped;meta.owlandbiolink.owl.ttlunchanged (neither carries DCMI agent annotations).ruff checkandruff format --check(0.11.13) clean.Areas of uncertainty
dcterms:rights,dcterms:language,dcterms:audience, …). They are left out: their values are commonly written as text, and the list stays limited to properties whose values are resources that are linked to.Checklist
AI Assistance
If you used AI tools while preparing this PR, you are still the author and responsible for understanding, verifying, and defending your submission. Please engage with reviewers personally rather than through your agent during feedback and revisions. See our AI Covenant for details.