-
Notifications
You must be signed in to change notification settings - Fork 315
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
Allow arbitrary defined annotation properties as qualifier tags in OBO format #1099
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you thank you 🙏 🙏 🙏
looks good to me |
Thanks! I'm going to do a bit more testing on some real ontologies before marking it ready for merge. |
With the implementation so far, one of the differences you see in parsing with the old code vs. the new code is where it would fall back to the If I add these to the constants file, they will always get mapped to what I put in:
I think this would be great, since the file would use the built-in tags but map to user-defined properties. In this situation though, if there is no |
To add on, I guess there are two different questions:
|
I agree with your analysis. I think defaulting to oboInOwl is consistent with existing behavior. If people really want to use a shorthand name and a custom URI, they can include a Typedef. But I think either we would be encouraging people who are mapping there axiom annotations forward to something more interoperable to use a curie, e.g. |
…helps with backwards compatibility for undeclared annotation properties.
@ignazio1977 I think this is ready to merge, thanks! |
Allowing arbitrary defined annotation properties as qualifier tags. Use oboInOWL as the default namespace when looking up tag IRIs. This helps with backwards compatibility for undeclared annotation properties. Enforce oio namespace for created_by and creation_date.
Done, I've rebased it and tweaked the test a bit to fit the style f the rest of the tests. |
Allowing arbitrary defined annotation properties as qualifier tags. Use oboInOWL as the default namespace when looking up tag IRIs. This helps with backwards compatibility for undeclared annotation properties. Enforce oio namespace for created_by and creation_date.
Allowing arbitrary defined annotation properties as qualifier tags. Use oboInOWL as the default namespace when looking up tag IRIs. This helps with backwards compatibility for undeclared annotation properties. Enforce oio namespace for created_by and creation_date.
Currently annotation property IRIs for properties used for sub-annotations (e.g., annotating source of a definition) are always mangled into the oboInOwl namespace. These changes will allow using any defined annotation property.