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

PLANA_0007536 is both a property and a class/individual #33

Open
marius-mather opened this issue Feb 8, 2022 · 1 comment
Open

PLANA_0007536 is both a property and a class/individual #33

marius-mather opened this issue Feb 8, 2022 · 1 comment

Comments

@marius-mather
Copy link

I've been attempting to use the uPheno 2 OWL file (http://purl.obolibrary.org/obo/upheno/v2/upheno.owl) with the owlready2 Python library. Attempting to load the ontology gives an error:

TypeError: 'http://purl.obolibrary.org/obo/PLANA_0007536' belongs to more than one entity types (cannot be both a property and a class/an individual)!

owlready2 does not support entities having more than one type. I realise this may not be an issue for other tools, but would there way be a way to handle this entity so that the ontology can be used by tools with this restriction?

@matentzn
Copy link
Contributor

matentzn commented Feb 8, 2022

We will talk about this in our meeting. In this case, this may even be a bug in the planarian anatomy ontology @srobb1 but generally, this is not illegal! You can have an individual be both at the same time.

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