Comunica
    Preparing search index...

    A lazy query source.

    Implements

    Index

    Constructors

    Properties

    referenceValue: string

    The URL of RDF source of this source.

    SELECTOR_SHAPE: FragmentSelectorShape = ...

    Methods

    • Convert an algebra operation into a query string, and if the operation is a simple triple pattern, then also replace any variables with s, p, and o to increase the chance of cache hits.

      Parameters

      • operation: Operation

        The operation to convert into a query string.

      Returns string

      Query string for a COUNT query over the operation.

    • Convert an operation to a select query for this pattern.

      Parameters

      • algebraFactory: Factory

        The algebra factory.

      • operation: Operation

        A query operation.

      • variables: Variable[]

        The variables in scope for the operation.

      Returns string

      A select query string.