CSVW RDF Convertor - Documentation
    Preparing search index...
    interface Rdf2CsvOptions {
        baseIri?: string;
        cache?: FetchCacheInterface;
        descriptor?: string | AnyCsvwDescriptor | TableGroupSchema;
        logLevel?: LogLevel;
        pathOverrides?: [string | RegExp, string][];
        resolveJsonldFn?: ResolveJsonldFn;
        resolveRdfFn?: ResolveRdfFn;
        useVocabMetadata?: boolean;
        windowSize?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    baseIri?: string

    for loading resources

    descriptor?: string | AnyCsvwDescriptor | TableGroupSchema

    Descriptor for the conversion. May be either parsed or unparsed JSON-LD, or a Table Group Schema.

    logLevel?: LogLevel

    Level of information shown to the user during logging.

    pathOverrides?: [string | RegExp, string][]

    Replacements for matching paths. [pattern, value] pairs. If the pattern is a string, all paths starting with the string will be replaced.

    resolveJsonldFn?: ResolveJsonldFn

    Function which loads json-ld. The default implementation also interprets Link headers.

    resolveRdfFn?: ResolveRdfFn

    Used for loading remote RDF data when useVocabMetadata is true.

    useVocabMetadata?: boolean

    If true (default is false), vocabularies may be fetched and used to enrich the conversion, for example by using rdf:label of properties to name the resulting table columns.

    windowSize?: number

    When processing streams, this controls the number of quads to process at once.