Interface RDFLiteralOptions

interface RDFLiteralOptions {
    datatype?: XmlSchemaTypeIri;
    identifier?: false;
    language?: string;
    predicate: `http://${string}` | `https://${string}` | (`http://${string}` | `https://${string}`)[];
}

Hierarchy (view full)

Properties

datatype?: XmlSchemaTypeIri

Specify the XSD data type used for this member. By default it will try to detect the data type.

identifier?: false
language?: string

Specify the language used.

predicate: `http://${string}` | `https://${string}` | (`http://${string}` | `https://${string}`)[]

Predicate or list of predicate URIs to use for this member. When not provided, the member can not be serialized.