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

Does not save annotation on Different Individuals axiom. #747

Closed
dillard opened this issue Jan 5, 2018 · 5 comments
Closed

Does not save annotation on Different Individuals axiom. #747

dillard opened this issue Jan 5, 2018 · 5 comments
Assignees
Labels
Status: Fixed Added to indicate that a closed issue represents a bug that has been fixed Type: Critical OWL API Bug A bug that originates in the OWL API that leads to data loss etc.

Comments

@dillard
Copy link

dillard commented Jan 5, 2018

I have a set of different individuals (owl#AllDifferent) in my ontology. I create an annotation for that axiom in Protege and this seems to work fine. However, when saving to file, Protege does not actually save the annotation for the axiom -- when I reload the ontology from the file, the annotation is missing. I am able to successfully add and save annotations on an AllDisjointClasses axiom.

Protege 5.2.0
OSX 10.12.6
RDF/XML syntax

P.S. The reason I'm trying to add an annotation is to be able to identify the axiom later in order to modify it as I add more distinct individuals. I'm fairly new to working with ontologies, so if there's a better way to accomplish this, please let me know.

@matthewhorridge
Copy link
Contributor

I can confirm this behaviour with saving in RDF/XML (and other RDF formats e.g. Turtle). As a workaround you could save your ontology in OWL/XML as the annotation is successfully saved and reloaded when using this format.

@matthewhorridge matthewhorridge added Type: Bug Indicates that Protege is not working as expected Status: Needs Reproducing Assigned to things that are bugs, but that have not been checked labels Jan 15, 2019
@matthewhorridge
Copy link
Contributor

Needs reviewing in light of updates to the OWL API.

@matthewhorridge matthewhorridge added this to the Protégé 5.5.0 milestone Jan 15, 2019
@csnyulas
Copy link
Member

This issue is still present in 5.5.0-beta-7, exactly as described above: annotations are not saved in RDF/XML format, but they are saved in OWL/XML format.

@csnyulas csnyulas added Status: Reproduced For issues that are (critical) bugs, denotes that the bug is reproduced, but no further action taken and removed Status: Needs Reproducing Assigned to things that are bugs, but that have not been checked labels Jan 23, 2019
@matthewhorridge
Copy link
Contributor

Possibly an OWL API bug

@matthewhorridge
Copy link
Contributor

After writing a stand alone test case, it appears to be an OWL API bug. File an issues on the OWL API tracker:

owlcs/owlapi#816

@matthewhorridge matthewhorridge added Type: OWL API Bug A bug in the OWL API that is manifested in Protege. Should be reported on the OWL API tracker Type: Critical OWL API Bug A bug that originates in the OWL API that leads to data loss etc. Status: Waiting for OWL API Release Waiting for an updated release of the OWL API for this issue to be resolved and removed Type: Bug Indicates that Protege is not working as expected Type: OWL API Bug A bug in the OWL API that is manifested in Protege. Should be reported on the OWL API tracker Status: Reproduced For issues that are (critical) bugs, denotes that the bug is reproduced, but no further action taken labels Jan 23, 2019
@matthewhorridge matthewhorridge added Status: Fixed Added to indicate that a closed issue represents a bug that has been fixed and removed Status: Waiting for OWL API Release Waiting for an updated release of the OWL API for this issue to be resolved labels Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Fixed Added to indicate that a closed issue represents a bug that has been fixed Type: Critical OWL API Bug A bug that originates in the OWL API that leads to data loss etc.
Projects
None yet
Development

No branches or pull requests

3 participants