SingleValuesPattern

Description

Wrapper for easier usage of SPARQL VALUES patterns that have a single variable.

Methods

has( value: string | number | boolean | Date | Resource | Literal ): SingleValuesPatternMore

Parameters

NameTypeDescription
string | number | boolean | Date | Resource | Literal

SingleValuesPattern

Description

Constant with utils for SingleValuesPattern objects.

Methods

createFrom<C extends Container<ValuesToken>, O extends object>( container: C, object: O ): SingleValuesPattern

Factory function that allows to crete a SingleValuesPattern from the object provided.

Parameters

NameTypeDescription
C

The related container with the data for the SingleValuesPattern statement.

O

The base base from where to create the SingleValuesPattern statement.

Returns

The SingleValuesPattern statement created from the object provided.