RDF.List.from
You're seeing just the function
from
, go back to RDF.List module for more information.
Specs
from(Enumerable.t(), keyword()) :: t()
Creates a RDF.List
from a native Elixir list or any other Enumerable
with coercible RDF values.
By default the statements constituting the Enumerable
are added to an empty graph. An
already existing graph to which the statements are added can be specified with
the graph
option.
The name of the head node can be specified with the head
option
(default: RDF.bnode()
, i.e. an arbitrary unique name).
Note: When the given Enumerable
is empty, the name
option will be ignored -
the head node of the empty list is always RDF.nil
.