rdf-dataset-fragmenter
Version:
Fragments an RDF dataset into multiple parts
14 lines (13 loc) • 637 B
TypeScript
import type * as RDF from '@rdfjs/types';
import type { IQuadTransformer } from './IQuadTransformer';
/**
* A quad transformer that wraps over another quad transformer and removes duplicates produced by the transformer.
* Only quads that are produced by the quad transformer (and are unequal to the incoming quad) will be filtered away.
*/
export declare class QuadTransformerDistinct implements IQuadTransformer {
private readonly transformer;
private readonly passedQuads;
constructor(transformer: IQuadTransformer);
transform(quad: RDF.Quad, allowedComponent?: 'subject' | 'object'): RDF.Quad[];
end(): void;
}