You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ROBOT 1.9.4
When exporting an ontology containing an annotation property (defined or used), an export command with an "Equivalent Property" header throws an ClassCast exception when attempting to cast an Annotation property to an Object property in EntitySearcher.getEquivalentProperties(). This is called from ExportOperation.getRow() in the switch (iriStr) statement with case "http://www.w3.org/2002/07/owl#equivalentProperty" with an Annotation Property as the entity. The if (entity.isOWLAnnotationProperty()) portion of that case statement should be a no-op since there is no Equivalent Annotation Property axiom in OWL.
EntitySearcher naively assumes if the input property is not a data property its an Object Property, doesn't check and attempts to cast the input to an ObjectPropertyExpression
This can be reproduced with an ontology which contains a single annotation property declaration.
The text was updated successfully, but these errors were encountered:
ROBOT 1.9.4
When exporting an ontology containing an annotation property (defined or used), an export command with an "Equivalent Property" header throws an
ClassCast
exception when attempting to cast an Annotation property to an Object property inEntitySearcher.getEquivalentProperties()
. This is called fromExportOperation.getRow()
in theswitch (iriStr)
statement with case "http://www.w3.org/2002/07/owl#equivalentProperty" with an Annotation Property as the entity. Theif (entity.isOWLAnnotationProperty())
portion of that case statement should be a no-op since there is noEquivalent Annotation Property
axiom in OWL.EntitySearcher naively assumes if the input property is not a data property its an Object Property, doesn't check and attempts to cast the input to an ObjectPropertyExpression
This can be reproduced with an ontology which contains a single annotation property declaration.
The text was updated successfully, but these errors were encountered: