Interface IQueryQuadsEnhanced

Enhanced query operation output for quads. For example: SPARQL CONSTRUCT results

interface IQueryQuadsEnhanced {
    execute: ((opts?: QueryExecuteOptions<QuadTermName>) => Promise<AsyncIterator<Quad> & ResultStream<Quad>>);
    resultType: "quads";
    metadata<M>(opts?: M): Promise<ConditionalMetadataType<unknown, M, QuadTermName>>;
}

Hierarchy (view full)

Properties

Methods

Properties

execute: ((opts?: QueryExecuteOptions<QuadTermName>) => Promise<AsyncIterator<Quad> & ResultStream<Quad>>)
resultType: "quads"

Identifier for the type of result of tis query.

Methods

  • Asynchronously return metadata of the current result.

    Type Parameters

    • M extends MetadataOpts<AllMetadataSupport>

    Parameters

    • Optionalopts: M

    Returns Promise<ConditionalMetadataType<unknown, M, QuadTermName>>