-
Notifications
You must be signed in to change notification settings - Fork 6
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
owx rendering differences with OWL API #6
Comments
@phillord what do you think? |
It's simple to reproduce on horned with:
So, it's my fault. I'll open a bug report on horned. |
@Eugenio2192 Out of curiosity, when you say the file is "not understandable" by the OWL API, how are you detecting this? I'm trying to write a test and the OWL API parses the output fine (but doesn't find any classes!). |
As far as I remember that's more or less what I meant. |
@phillord What is the status here, is the issue in Horned-OWL resolved? |
Hello just wanted to point out that there are still rendering differences. Prefixes are not rendering.
Here is a small example pair, Nevertheless, I wanted to say thanks for the great job, the tool is still very bare-bones but can already do pretty cool things. Thanks thanks thanks! |
It is actually fixed, the problem there was arising because the environment I was using had an older installation. I tried again at home and the owx files are rendering properly (almost, still no new lines per ontology prefixes, but functionality is there) I will close this issue. |
Awesome! Thanks @Eugenio2192 , @areleu and @phillord ! |
This probably belongs to the horned-owl itself but I discovered it here so I write it here first in case you find a root cause in this library.
So I have been using this in parallel with ROBOT to try out some automatic checks and I noticed that if I read a owx file written by ROBOT(OWLAPI) and then read it in into py-horned-owl and then save it without altering it I get an inconsistency that makes the file not undestandable by OWLAPI. The xml Namespaces are not appearing. See this example:
This is the header of the output of OWLAPI:
This is the output of horned-owl:
When I try to convert this last version to something else using OWLAPI I get an empty file.
I don't see the generation of these Namespaces happening anywhere here:
https://github.com/phillord/horned-owl/blob/e33ea9e98df83773ddead0bbe438955690b6b73c/src/io/owx/writer.rs#L228
So the root cause may be there. If you think the same I can just bring this issue to @phillord
The text was updated successfully, but these errors were encountered: