Optional
initialQuads: Stream<Quad>Readonly
referenceThe URL of RDF source of this source.
Readonly
searchProtected
Readonly
selectorProtected
cacheCreate a QPF fragment IRI for the given quad pattern.
A search form.
A term.
A term.
A term.
A term.
A URI.
Protected
getProtected
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.
The subject.
The predicate.
The object.
The graph.
The original QPF URL.
The bindings to restrict with.
The bindings stream.
The bindings metadata.
Protected
getGet a first QPF search form.
A metadata object.
A search form, or null if none could be found.
Get the selector type that is supported by this source.
Protected
matchOptional
options: IQueryBindingsOptionsReturns a (possibly lazy) stream that returns all bindings matching the operation.
Passed operations MUST conform to the query shape exposed by the selector type returned from getSelectorShape
.
The given operation represents a Linked Data Fragments selector.
The returned stream MUST expose the property 'metadata' of type MetadataBindings
.
The implementor is reponsible for handling cases where 'metadata'
is being called without the stream being in flow-mode.
This metadata object can become invalidated (see metadata.state
),
in which case the 'metadata' property must and will be updated.
The query operation to execute.
The query context.
Optional
options: IQueryBindingsOptionsOptions for querying bindings
The resulting bindings stream.
Returns a promise resolving to the ask response of the given operation.
This method should only be supported if the selector type returned from getSelectorShape
supports ask queries.
The resulting ask reply.
Returns a (possibly lazy) stream that returns all quads matching the operation.
This method should only be supported if the selector type returned from getSelectorShape
supports construct queries.
The resulting quads stream.
Returns a promise resolving when the given update operation succeeds.
This method should only be supported if the selector type returned from getSelectorShape
supports update queries.
The void response.
Protected
reverse
A lazy query source.