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

OWL-compliant? #1555

Closed
YasinEl opened this issue Nov 28, 2024 · 7 comments
Closed

OWL-compliant? #1555

YasinEl opened this issue Nov 28, 2024 · 7 comments

Comments

@YasinEl
Copy link

YasinEl commented Nov 28, 2024

Hello,

could it be that https://raw.githubusercontent.com/EnvironmentOntology/envo/master/subsets/biome-hierarchy.owl is not OWL-compliant or am I doing something wrong?


from owlready2 import get_ontology

onto = get_ontology('biome-hierarchy.owl').load()

gives

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

Thank you

@pbuttigieg
Copy link
Member

That could be an import artifact from NCIT. A quick look at the Ontobee RDF doesn't show any class/instance confounding

@matentzn @cmungall why would we have NCIT terms in the biome subset at all ?

1 similar comment
@pbuttigieg
Copy link
Member

That could be an import artifact from NCIT. A quick look at the Ontobee RDF doesn't show any class/instance confounding

@matentzn @cmungall why would we have NCIT terms in the biome subset at all ?

@matentzn
Copy link
Collaborator

matentzn commented Dec 6, 2024

I cant see any mention of NCIT in that file, or anywhere else in ENVO (especially that specific ID)!

@pbuttigieg
Copy link
Member

Spooky stuff - @YasinEl I also can't find any mention of NCIT_C16847 in http://purl.obolibrary.org/obo/envo/subsets/biome-hierarchy.owl

This may come from some import chain, but that's not in our control, I think

@YasinEl
Copy link
Author

YasinEl commented Dec 7, 2024

Thank you for having looked into it! I take it you were not able to reproduce the issue.

I will try to figure out if something strange is going on on my end then.

@pbuttigieg
Copy link
Member

@YasinEl to be clear, I didn't run the commands you did, but just noted that the reported error doesn't seem to be coming from ENVO as far as I can tell

@pbuttigieg
Copy link
Member

I'm closing this for now @YasinEl , but if you find out that there is indeed an issue with ENVO in further investigation, please reopen it

@pbuttigieg pbuttigieg closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 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

3 participants