Comunica
    Preparing search index...

    A comunica warmup actor that executes queries derived from the data in the sources, such as single patterns, stars, and paths, all with a limit.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    beforeActors: Actor<IActionWarmup, IActorTest, IActorWarmupOutput, undefined>[] = []

    Actor that must be registered in the bus before this actor.

    bus: Bus<
        Actor<IActionWarmup, IActorTest, IActorWarmupOutput, undefined>,
        IActionWarmup,
        IActorTest,
        IActorWarmupOutput,
        undefined,
    >

    The bus this actor subscribes to.

    name: string

    The name for this actor.

    {<rdf:subject>}
    
    LIMIT: 20
    MAX_PREDICATES: 24
    MAX_SUBJECTS: 24
    MEDIA_TYPE: "application/sparql-results+json" = 'application/sparql-results+json'

    Methods

    • Generate warm-up queries from the data in the sources.

      Parameters

      • engine: IQueryEngine<any, any>

        A query engine.

      • context: IActionContext

        A context with the sources.

      • stopped: () => boolean = ...

        A check after which no more data is sampled.

      • loaded: () => void = ...

        A callback for when the first query, which loads the sources, has completed.

      Returns Promise<string[]>