-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add a prefixes header #97
Comments
This is another very important issue for now. |
So this in on the Graph object? graphDocument:
graphs:
- id: hp
prefixes:
- prefix: "HP"
namespace: "http://purl.obolibrary.org/obo/HP_" To answer my own question, yes. However, this is also found on the GraphDocument, so presumably that is a unique set of all |
Also, where are these gleamed from? Post-OWL translation or from the OWL file? |
@balhoff can we align with how we want to do for obo format. I am still keen to place explicitly in owl domain of discourse via shacl data model but if you think prefix declarations persist enough... |
@cmungall @julesjacobsen you can retrieve the prefix declarations that were used in the ontology when it was parsed, if the format was a PrefixOWLOntologyFormat: https://github.com/owlcs/owlapi/pull/1102/files#diff-dc57a7f9dedea84b58b14d5ac747bfcbf65c94ee8264219cacf2a35c67f78193R55-R57 I think this is the way that prefix declarations generally move between parsing and serializing in the OWL API. |
By the way, the OBO format code assumes the |
Moving @julesjacobsen comment back here. @cmungall can you help with this? I wonder about this. Given the following synonym type def.
You can use the above examples from above:
How is this driven by the obographs schema? |
Consistent with other RDF serializations we should add a prefixes header
range:
The text was updated successfully, but these errors were encountered: