View Source RDF.BlankNode.Generator.Increment (RDF.ex v1.0.0)
An implementation of a RDF.BlankNode.Generator.Algorithm
which returns RDF.BlankNode
s with incremented identifiers.
The following options are supported when starting a RDF.BlankNode.Generator
with this algorithm:
prefix
: a string prepended to the generated blank node identifierstart_value
: the number from which the incremented counter starts
Link to this section Summary
Link to this section Types
@type state() :: %{ optional(:prefix) => String.t(), map: map(), counter: pos_integer() }