Readonly
referenceThe URL of RDF source of this source.
Protected
Static
Readonly
SELECTOR_Protected
attachGet the selector type that is supported by this source.
Returns 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 context.
Optional
options: IQueryBindingsOptionsOptions for querying bindings
The resulting bindings stream.
Send a SPARQL query to a SPARQL endpoint and retrieve its bindings as a stream.
A SPARQL endpoint URL.
A SPARQL query string.
The expected variables.
The source context.
Variables that may have undefs.
A stream of bindings.
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 query operation to execute.
The query context.
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 query operation to execute.
The query context.
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 query operation to execute.
The query context.
The void response.
Static
addCreate an operation that includes the bindings from the given bindings stream.
The algebra factory.
A method for adding bindings to an operation.
The operation to bind to.
The bindings to add.
The bindings stream.
The bindings metadata.
Static
getStatic
operationConvert an operation to a count query for the number of matching triples for this pattern.
The data factory.
The algebra factory.
A query operation.
A count query string.
Static
operationStatic
operationConvert an operation to a select query for this pattern.
The algebra factory.
A query operation.
The variables in scope for the operation.
A select query string.
A lazy query source.