@Override
 public void addDataProperty(String dataPropertyName) {
   OWLDataFactory factory = manager.getOWLDataFactory();
   OWLDataProperty dataProperty =
       factory.getOWLDataProperty(IRI.create(prefix + dataPropertyName));
   OWLAxiom axiom = factory.getOWLDeclarationAxiom(dataProperty);
   axiom = changeManager.getAnnotatedAxiom(axiom);
   AddAxiom addAxiom = new AddAxiom(localContext, axiom);
   try {
     synchronized (this) {
       changeManager.validateAddChange(axiom);
       manager.applyChange(addAxiom);
     }
   } catch (DeclarationException ex) {
     logger.info(
         ex.getMessage()
             + "Change ( addDataProperty "
             + dataPropertyName
             + " ) will not be applied.");
   }
 }
 @Override
 public void addSubDataProperty(String subDataPropertyName, String dataPropertyName) {
   OWLDataFactory factory = manager.getOWLDataFactory();
   OWLDataProperty dataProperty =
       factory.getOWLDataProperty(IRI.create(prefix + dataPropertyName));
   OWLDataProperty subDataProperty =
       factory.getOWLDataProperty(IRI.create(prefix + subDataPropertyName));
   OWLAxiom axiom = factory.getOWLSubDataPropertyOfAxiom(subDataProperty, dataProperty);
   axiom = changeManager.getAnnotatedAxiom(axiom);
   AddAxiom addAxiom = new AddAxiom(localContext, axiom);
   try {
     synchronized (this) {
       changeManager.validateAddSubDataPropertyChange(axiom, subDataProperty, dataProperty);
       manager.applyChange(addAxiom);
     }
   } catch (DeclarationException ex) {
     logger.info(
         ex.getMessage()
             + " Change ( addSubDataProperty "
             + subDataPropertyName
             + " of "
             + dataPropertyName
             + " ) will not be applied.");
   } catch (RedundancyException ex) {
     synchronized (this) {
       removeSubDataProperty(ex.getSubCls(), ex.getCls());
       manager.applyChange(addAxiom);
     }
   } catch (CycleException ex) {
     logger.severe(
         ex.getMessage()
             + " Change ( addSubDataProperty "
             + subDataPropertyName
             + " of "
             + dataPropertyName
             + ") will not be applied.");
   }
 }