Skip to content

Commit

Permalink
core:exporters:owl2: fix on literal to get owlaxioms of node
Browse files Browse the repository at this point in the history
  • Loading branch information
rooosyf authored and mnamici committed Dec 6, 2022
1 parent 4921774 commit 29eed46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eddy/core/exporters/owl2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 29eed46

Please sign in to comment.