Literal
Description
Wrapper for easier usage of SPARQL Literals as objects and for declaring triple patterns as its subject.
Literal
Description
Constant with the utils for Literal objects.
Methods
createFrom<C extends Container<LiteralToken>, O extends object>( container: C, object: O ): O & LiteralFactory function that allows to crete a Literal 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 Literal statement created from the object provided.