diff --git a/ontopy/excelparser.py b/ontopy/excelparser.py index 1462659aa..02cd9c49f 100755 --- a/ontopy/excelparser.py +++ b/ontopy/excelparser.py @@ -808,7 +808,7 @@ def _add_entities( or row["Other annotations"] == "nan" ): for annotation in row["Other annotations"].split(";"): - key, value = annotation.split("=") + key, value = annotation.split("=", 1) entity[key.strip(" ")] = english(value.strip(" ")) remaining_rows.difference_update(added_rows) diff --git a/tests/test_excelparser/onto.xlsx b/tests/test_excelparser/onto.xlsx index 3e7a07528..0c926c48d 100644 Binary files a/tests/test_excelparser/onto.xlsx and b/tests/test_excelparser/onto.xlsx differ diff --git a/tests/test_excelparser/result_ontology/fromexcelonto.ttl b/tests/test_excelparser/result_ontology/fromexcelonto.ttl index 56c85c7bc..5da686a69 100644 --- a/tests/test_excelparser/result_ontology/fromexcelonto.ttl +++ b/tests/test_excelparser/result_ontology/fromexcelonto.ttl @@ -72,7 +72,7 @@ :EMMO_7c8ba943-15cf-5621-98a3-ed1e7e68fee8 a owl:Class ; emmo:EMMO_967080e5_2f42_4eb2_a3a9_c58143e835f9 "A special boundary."@en ; - :EMMO_98871837-aa90-5eef-9a56-926ae8beebbb "\"A text about this type of boundary\""@en ; + :EMMO_98871837-aa90-5eef-9a56-926ae8beebbb "\"A text about this type of=boundary\""@en ; rdfs:subClassOf :EMMO_1b2bfe71-5da9-5c46-b137-be45c3e3f9c3 ; skos:prefLabel "SpecialBoundary"@en .