OptionallanguageOrDatatype: string | NamedNode<string>ReadonlydatatypeA NamedNode whose IRI represents the datatype of the literal.
Readonlylanguagethe language as lowercase BCP47 string (examples: en, en-gb) or an empty string if the literal has no language.
ReadonlytermContains the constant "Literal".
ReadonlyvalueThe text value, unescaped, without language or type (example: Brad Pitt).
An RDF/JS compliant Literal implementation.