ResourceExtends
Extends
Description
Wrapper for easier usage of IRIs and prefixed names as objects and for declaring triple patterns as its subject.
Resource
Description
Constant with the utils for Resource
objects.
Methods
createFrom<C extends Container<IRIToken>, O extends object>( container: C, object: O ): O & Resource
Factory function that allows to crete a Resource
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 Resource
statement created from the object provided.