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

Add example for adding xrefs #44

Open
cthoyt opened this issue Sep 23, 2023 · 0 comments
Open

Add example for adding xrefs #44

cthoyt opened this issue Sep 23, 2023 · 0 comments
Milestone

Comments

@cthoyt
Copy link
Contributor

cthoyt commented Sep 23, 2023

I would like to see two additional examples/functionalities in https://incatools.github.io/kgcl/examples/:

  1. Adding an xref. Is it also possible to add extra metadata like the contributor ORCID with an xref?
  2. Updating an xref. E.g., I know there's already an xref from A to B with a given relationship like oboInOwl:hasDbXref and want to upgrade it to a more specific relation like skos:exactMatch

It's also not clear from the docs what happens if I try upgrading an xref that doesn't exist. E.g., if I try and upgrade A oboInOwl:hasDbXref B to A skos:exactMatch B but A oboInOwl:hasDbXref B doesn't exist, will it still add A skos:exactMatch B?

Motivation: I want to automate adding Biomappings to various ontologies

@cmungall cmungall added this to the 1.0.0 release milestone Mar 21, 2024
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

No branches or pull requests

2 participants