UnionPattern

Description

Wrapper for easier usage of SPARQL UNION patterns.

Methods

Parameters

NameTypeDescription
Pattern<PatternToken> | Pattern<PatternToken>[]

UnionPattern

Description

Constant with utils for UnionPattern objects.

Methods

createFrom<C extends Container<UnionPatternToken>, O extends object>( container: C, object: O ): UnionPattern

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

Parameters

NameTypeDescription
C

The related container with the data for the UnionPattern statement.

O

The base base from where to create the UnionPattern statement.

Returns

The UnionPattern statement created from the object provided.