diff --git a/src/rdf-mappings/map-tblBranch.py b/src/rdf-mappings/map-tblBranch.py index dc62e41473daad873af0e60128cc94c5de54a4a6..3ef742ecebc13aa9abccef6ccad14b3d562b3979 100644 --- a/src/rdf-mappings/map-tblBranch.py +++ b/src/rdf-mappings/map-tblBranch.py @@ -37,7 +37,7 @@ def create_owl_class_from_string(new_class_name, sub_class_of=None, create_prope if mapping_config['create_research_dataset'] == True and '(' in new_class_name: new_class_name = new_class_name.split('(')[0] - if new_class_name != '' and new_class_name[-1] == '.': + if new_class_name != '' and ( new_class_name[-1] == '.' or new_class_name[-1] == ')' ): new_class_name = new_class_name[:-1] if create_property == True: