ExtractionContext: {
    baseIRI: string;
    context?: Record<string, string>;
    dataset: DatasetCore;
    depth: number;
    logger: Logger;
    normalizedSchema: NormalizedSchema;
    options: Partial<ExtendedWalkerOptions>;
}

Context passed through the extraction process Contains all necessary state and configuration for extracting data from the graph

Type declaration

  • baseIRI: string

    Base IRI for expanding property names

  • Optionalcontext?: Record<string, string>

    Optional prefix mappings for property name expansion (e.g., "dc" -> "http://purl.org/dc/elements/1.1/")

  • dataset: DatasetCore

    The RDF dataset to extract from

  • depth: number

    Current depth in the extraction tree

  • logger: Logger

    Logger for debugging and monitoring

  • normalizedSchema: NormalizedSchema

    The normalized schema (all $refs resolved)

  • options: Partial<ExtendedWalkerOptions>

    Walker options including filter options