Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uniprot prefixes in prefixmap seem to be a bit random and not uniprot purls #1220

Closed
JervenBolleman opened this issue Feb 8, 2023 · 5 comments
Assignees
Labels
identifiers Used to group tickets around prefix management and identifier mappings

Comments

@JervenBolleman
Copy link
Contributor

e.g.

  "UNIPROT.ISOFORM": "http://identifiers.org/uniprot.isoform/" 
"UniProtKB": "http://identifiers.org/uniprot/",

in the context.jsonld

these should be

"UniProtKB": "http://purl.uniprot.org/uniprot/",
and
"UNIPROT.ISOFORM": "http://purl.uniprot.org/isoforms/",

This was fixed in part in 5ddb324
but got overwritten by something.

@sierra-moxon
Copy link
Member

sierra-moxon commented Feb 8, 2023

Thanks @JervenBolleman - Biolink imports prefix maps from a variety of sources, one of which currently is prefixcommons, which establishes the UniProt expansion "UniProtKB": "http://identifiers.org/uniprot/",
Since we generate the jsonld file automatically as part of the build process without an exception for this in the "prefixes" section of the biolink-model.yaml, the changes to the jsonld file will be overwritten with the canonical expansions from these upstream sources (prioritized in the default_curi_maps section of biolink-model.yaml)

I'm working towards incorporating prefixmaps prefix maps into the default_curi_maps section of biolink too as bioregistry is being actively maintained, etc. (merged maps from prefixcommons, identifiers.org, bioregistry, etc). Right now, that source has the identifiers.org expansion for UniProt as well.

It would be ideal if we could change the expansion upstream in one of these sources, but if we can't we can certainly add an exception in Biolink as we've done with other cases. :)

@sierra-moxon sierra-moxon added the identifiers Used to group tickets around prefix management and identifier mappings label Feb 8, 2023
@sierra-moxon sierra-moxon self-assigned this Feb 8, 2023
@kltm
Copy link
Member

kltm commented Feb 8, 2023

Tagging @cmungall . I'm assuming we use this metadata; wouldn't a change in identifier have consequences for what is already in play?

@JervenBolleman
Copy link
Contributor Author

@kltm I suspect not, considering it has in the past already had a uniprot purl and a uniprot www address expansion :) They still represents the same thing.

@cmungall
Copy link
Collaborator

cmungall commented Feb 9, 2023

Let's make an exception in biolink for now and solve this in prefixmaps - prefixmaps is designed specifically to allow for different contexts for different purposes.

Note that to make an override in biolink the correct place to do this is in biolink-model.yaml - any PRs on the generated jsonld context like 5ddb324 will be overridden as this is generated from the yaml plus upstream sources

JervenBolleman added a commit to JervenBolleman/biolink-model that referenced this issue Feb 9, 2023
Add purl.uniprot.org/uniprot for UniProtKB entries and http://purl.uniprot.org/isoforms/ for UniProtKB isoforms
sierra-moxon added a commit that referenced this issue Feb 9, 2023
#1220 Add UniProt purl's for UniProt entries + Isoforms
@sierra-moxon
Copy link
Member

closing as completed - for now we will put in exceptions in biolink, fixing later upstream in prefixmaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
identifiers Used to group tickets around prefix management and identifier mappings
Projects
None yet
Development

No branches or pull requests

4 participants