diff --git a/eddy/core/exporters/owl2.py b/eddy/core/exporters/owl2.py index f8203c81..2f5d7007 100644 --- a/eddy/core/exporters/owl2.py +++ b/eddy/core/exporters/owl2.py @@ -1137,7 +1137,7 @@ def getLiteral(self, node): lang = literal.language datatype = literal.datatype if lang: - return self.df.getOWLLiteral(lexForm, lang) + return self.df.getOWLLiteral(lexForm, str(lang)) else: if datatype: owlApiDatatype = self.df.getOWLDatatype(self.IRI.create(str(datatype)))