log.debug("ObjectProperty {} not found, creating new one...", propertyURI);
} else {
// Add domains to union class
OntResource domain = objectProperty.getDomain();
if (domain != null) {
if (domain.isClass() && domain.asClass().isUnionClass()) {
UnionClass unclass = domain.asClass().asUnionClass();
for (Resource newDomain : domains) {
unclass.addOperand(newDomain);
}
} else {