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

Getting ontology as LinkML schema? #721

Open
serenalotreck opened this issue Oct 18, 2023 · 1 comment
Open

Getting ontology as LinkML schema? #721

serenalotreck opened this issue Oct 18, 2023 · 1 comment

Comments

@serenalotreck
Copy link

I'm trying to use OntoGPT for information extraction, which is a tool that requires a schema input in LinkML format. I'd love to use PO, but I've been unable to figure out how to convert from OWL to LinkML. It seems straightforward to do in the other direction, but no amount of googling has helped me figure out how to go from OWL --> LinkML. My understanding of different ontology specification formats is limited, but I suspect it may be because OWL encodes data beyond just the schema -- however, I'm not sure why that would preclude the schema from being pulled out of an OWL ontology and put into LinkML format.

Wondering if your team has any insights for how to go about doing this?

@cmungall
Copy link
Member

Hi @serenalotreck

It's probably best to take this to the OntoGPT tracker. If you want to use PO to ground concepts using OntoGPT then you don't need to convert to LinkML. LinkML is a schema language and PO isn't a schema.

A schema would describe the structure of the objects you want to extract. For example, a schema to extract gene-tissue associations from abstracts would have a GeneExpression class with fields for gene and tissue, the latter configured to use PO.

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