// LiteralString reconstructs the literal as written in OWL functional.
LiteralString reconstructs the literal as written in OWL functional.
// LiteralString reconstructs the literal as written in OWL functional .
func (s *OWLLiteral) LiteralString() string {
	res := fmt.Sprintf(`"%v"`, s.Value)
	if s.LangTag != "" {
		res = fmt.Sprintf("%v@%v", res, s.LangTag)
	}
	if s.Literaltype != "" {
		res = fmt.Sprintf("%v^^%v", res, s.Literaltype)
	}
	return res
}
func ( s * OWLLiteral ) LiteralString ( ) string { res := fmt . Sprintf ( `"%v"` , s . Value ) if s . LangTag != " " { res = fmt . Sprintf ( " " , res , s . LangTag ) } if s . Literaltype != " " { res = fmt . Sprintf ( " " , res , s . Literaltype ) } return res }
LiteralString reconstructs the literal as written in OWL functional.
LiteralString reconstructs the literal as written in OWL functional .