duplicated code removed from OWLLiteral implementations