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

Missing rdf:type owl:Ontology causes non-intelligible fail #100

Open
matentzn opened this issue Jun 22, 2023 · 2 comments
Open

Missing rdf:type owl:Ontology causes non-intelligible fail #100

matentzn opened this issue Jun 22, 2023 · 2 comments

Comments

@matentzn
Copy link

ROBOT convert and generally the OWL API is robust to the absence of an ontology declaration like <http://purl.obolibrary.org/obo/my-ont.owl> rdf:type owl:Ontology .

Can we make this statement optional for obographs parser as well? It just took me 1 hour to debug this, and I think others may struggle hard with this as well if they hit the issue.

@matentzn
Copy link
Author

matentzn commented Mar 6, 2024

@caufieldjh are you ok with adding the annotate subcommand as a preprocessing step for now or do we need to prioritise fixing this?

@caufieldjh
Copy link

Sure, I have a hacky fix to account for this downstream so I'll add an annotate to ensure a full declaration gets added.
Would probably make life easier in general re: obographs if the declaration wasn't mandatory, particularly when they don't get added by robot extract.

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