protegeproject / webprotege

The webprotege code base
Other
623 stars 249 forks source link

Import removes owl:equivalentProperty annotation #497

Open pols12 opened 6 years ago

pols12 commented 6 years ago
  1. Create a property with myTitle as rdfs:label.
  2. Define myTitle as owl:equivalentProperty of http://purl.org/dc/terms/title (this will create owl:equivalentProperty as Annotation Property).
  3. Export the projet. (You can read the file: annotation is well imported.)
  4. Import the file as a new project.

Actual result: owl:equivalentProperty is well created as an Annotation Property, but myTitle has no owl:equivalentProperty annotation defined.

matthewhorridge commented 6 years ago

@pols12 please can you confirm that you're working in WebProtege (and not the desktop version of Protege).

pols12 commented 6 years ago

Indeed, I work with online-provided version of WebProtégé.

matthewhorridge commented 6 years ago

Thanks. Please can you list the exact steps that you perform in step 2 above?

pols12 commented 6 years ago

Sorry for being unclear. Details of step 2:

  1. In Property Hierarchy panel, I click on myTitle property in order to edit it.
  2. In edit panel, under Annotations header, I click on “Enter property” placeholder in order to add an annotation.
  3. I type “owl:equivalentProperty” (an information box says “owl:equivalentProperty is a new property name. To continue, enter a value for the property (class name, number etc.) and press the TAB key”).
  4. I press Tab key to go to “Enter value” field.
  5. I type “http://purl.org/dc/terms/title
  6. I press Tab key again to validate the annotation addition.