Description

Wrapper for easier usage of SPARQL variables as objects and for declaring triple pattern as its subject.

Variable

Description

Constant with the utils for Variable objects.

Methods

createFrom<C extends Container<VariableToken>, O extends object>( container: C, object: O ): O & Variable

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

Parameters

NameTypeDescription
C

The related container with the data for the Variable statement.

O

The base base from where to create the Variable statement.

Returns

The Variable statement created from the object provided.