Skip to content

Explicitly annotate URI prefixes for non-standard resources - #2951

Merged
deepakunni3 merged 4 commits into
OBOFoundry:masterfrom
cthoyt:rdf-uri-prefix
Sep 29, 2026
Merged

deepakunni3 merged 4 commits into
OBOFoundry:masterfrom
cthoyt:rdf-uri-prefix

Conversation

@cthoyt

@cthoyt cthoyt commented Sep 18, 2026 •

Copy link
Copy Markdown
Collaborator

There are a handful of ontologies in OBO Foundry that don't use standard OBO PURLs. This leads to some inaccuracies in the build files.

This PR adds a new field to capture that. I curated four by hand, I'm not sure if there are some others. Maybe a bioregistry analysis could reveal more, but this is a PoC that would be ready to merge.

Some specifics:

  1. I mapped the uri_prefix to the vann:preferredNamespaceUri predicate in the manually curated context
  2. I removed a few pieces of code that checked for OBO prefixes, it wasn't clear what they were doing

@cthoyt cthoyt added ontology metadata Issues related to ontology metadata attn: Technical WG Issues pertinent to technical activities, such as maintenance of website, PURLs, and tools labels Sep 25, 2026

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

seems fine from a technical standpoint 👍

@deepakunni3 deepakunni3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good @cthoyt!

@deepakunni3
deepakunni3 merged commit 6a0c417 into OBOFoundry:master Sep 29, 2026
2 checks passed
@cthoyt
cthoyt deleted the rdf-uri-prefix branch September 29, 2026 15:45
cthoyt added a commit to biopragmatics/bioregistry that referenced this pull request Sep 29, 2026
Some OBO Foundry ontologies do not use OBO PURLs. As of
OBOFoundry/OBOFoundry.github.io#2951, these are
now made explicit in the metadata of the OBO Foundry.

This PR incorporates that data and removes an incomplete custom
override.

This PR is requires the OBO Foundry to update its metadata before it can
be merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

attn: Technical WG Issues pertinent to technical activities, such as maintenance of website, PURLs, and tools ontology metadata Issues related to ontology metadata

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants