@triply/triplydb
    Preparing search index...

    Interface ImportFromDatasetArgs

    Which graphs to take when importing from another dataset, and what to call them here.

    interface ImportFromDatasetArgs {
        graphMap?: { [from: string]: string | NamedNode<string> | Graph };
        graphNames?: (string | NamedNode<string> | Graph)[];
        overwrite?: boolean;
    }
    Index
    graphMap?: { [from: string]: string | NamedNode<string> | Graph }

    Graphs to take, keyed by their IRI in the source, valued by the IRI to give them here.

    Mutually exclusive with ImportFromDatasetArgs.graphNames: passing both throws.

    graphNames?: (string | NamedNode<string> | Graph)[]

    Graphs to take under their existing IRIs. Every graph is taken when neither field is given.

    Mutually exclusive with ImportFromDatasetArgs.graphMap: passing both throws.

    overwrite?: boolean

    Replace a graph of the same IRI that this dataset already has, rather than failing.