UnionPatternExtends
Extends
Description
Wrapper for easier usage of SPARQL UNION patterns.
Methods
and( patterns: Pattern<PatternToken> | Pattern<PatternToken>[] ): UnionPattern
Parameters
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
C | The related container with the data for the | |
O | The base base from where to create the |
Returns
The UnionPattern
statement created from the object provided.