Skip to content

Map core LinkML metamodel types to xh11d - #289

Open
cthoyt wants to merge 1 commit into
linkml:mainfrom
cthoyt:patch-1
Open

cthoyt wants to merge 1 commit into
linkml:mainfrom
cthoyt:patch-1

Conversation

@cthoyt

@cthoyt cthoyt commented Oct 29, 2026

Copy link
Copy Markdown

Following the addition of W3's XHTML datatypes (xh11d) vocabulary to the Bioregistry in biopragmatics/bioregistry#2157, this PR maps the core LinkML metamodel types for CURIE and Uriorcurie back to the W3 vocabulary's terms

Following the addition of W3's XHTML datatypes (xh11d) vocabulary to the Bioregistry in biopragmatics/bioregistry#2157, this PR maps the core LinkML metamodel types for CURIE and Uriorcurie back to the W3 vocabulary's terms

@matentzn matentzn 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.

I agree with this in principle but note that LinkML currently is not identical to xh11d:curie, see in line

If you are authoring schemas in LinkML YAML, the type is referenced with the lower case "curie".
conforms_to: https://www.w3.org/TR/curie/
exact_mappings:
- xh11d:CURIE

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.

nit, not blocking: xh11d:CURIE makes the prefix and the colon optional (foo on its own is a valid CURIE there), while linkml-runtime's Curie needs the colon. conforms_to: https://www.w3.org/TR/curie/ above already has the same looseness, so I'm fine keeping this as exact.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

then would you rather see this under broad_mappings? Is that a valid field in LinkML's metamodel?

@matentzn matentzn self-assigned this Nov 4, 2026

This branch has not been deployed

No deployments
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