If an ontology with anonymous individuals is loaded from an RDF file and then saved in the functional owl syntax the result is something that cannot be reloaded. The problem seems to revolve around the ids of the anonymous individuals in the functional syntax representation which look something like this:
I am attaching a program that demonstrates the problem. This program
1. creates an ontology in memory with a single anonymous individual.
2. saves it as RDF and then reloads it. I believe what this is doing is to set the id for the individual into the problematic format.
3. saves it as the functional OWL syntax. I don't know if the resulting file is valid or not.
4. tries to reload the file but fails with a syntax error.
Log in to post a comment.