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 & Literal

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

Parameters

NameTypeDescription
C

The related container with the data for the Literal statement.

O

The base base from where to create the Literal statement.

Returns

The Literal statement created from the object provided.