Comunica
    Preparing search index...

    A lazy query source.

    Implements

    Index

    Constructors

    Properties

    referenceValue: string

    The URL of RDF source of this source.

    searchForm: ISearchForm
    selectorShape: FragmentSelectorShape

    Methods

    • Protected

      If we add bindings for brTPF, append it to the URL. We have to hardcode this because brTPF doesn't expose a URL template for passing bindings.

      Parameters

      • subject: Term

        The subject.

      • predicate: Term

        The predicate.

      • object: Term

        The object.

      • graph: Term

        The graph.

      • url: string

        The original QPF URL.

      • filterBindings: { bindings: BindingsStream; metadata: MetadataBindings }

        The bindings to restrict with.

      Returns Promise<string>

    • Returns Promise<number>

      A value from 0 to 1 indicating to what respect a source type is able to pre-filter the source based on the pattern. 1 indicates that the source can apply the whole pattern, and 0 indicates that the source can not apply the pattern at all (and local filtering must happen). Plain RDF documents for example have a filter factor of 0, while SPARQL endpoints have a filter factor of 1.