if(isObjectProperty() && p.isObjectProperty()){
addAxiom(getOWLDataFactory().
getOWLInverseObjectPropertiesAxiom(asOWLObjectProperty(),
(OWLObjectProperty)convertOntologyObject(p)));
}else{
throw new IOntologyError("Can't set inverse property for non object properties");
}
}