TripleSubjectExtends
Extends
Description
Object that contains a specific triple subject and allows to create patterns for it.
Methods
_getSubject(): T
Return the subject token of the triple.
TripleSubject
Description
Constant with the utils for TripleSubject
objects.
Methods
createFrom<T extends ObjectToken, C extends Container<T>, C2 extends Container<TripleToken<T>>, O extends object>( container: C, object: O ): O & TripleSubject<T>
Factory function that allows to crete a TripleSubject
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 TripleSubject
statement created from the object provided.