TriplePattern
Extends

Description

Object that contains a pattern made from a triple subject.

TriplePattern

Description

Constant with utils for TriplePattern objects.

Methods

createFrom<T extends ObjectToken, C extends Container<TripleToken<T>>, O extends object>( container: C, object: O ): O & TriplePattern<T>

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

Parameters

NameTypeDescription
C

The related container with the data for the TriplePattern statement.

O

The base base from where to create the TriplePattern statement.

Returns

The TriplePattern statement created from the object provided.