import { type RDF } from "https://deno.land/x/ldkit@v0.5.0/rdf.ts";
const { Literal } = RDF;
An RDF literal, containing a string with an optional language tag and/or datatype.
Properties
the language as lowercase BCP47 string (examples: en, en-gb) or an empty string if the literal has no language.
datatype: NamedNode
A NamedNode whose IRI represents the datatype of the literal.