RDF.BlankNode.Increment (RDF.ex v0.9.1) View Source

An implementation of a RDF.BlankNode.Generator.Algorithm which returns RDF.BlankNodes 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 identifier
  • start_value: the number from which the incremented counter starts

Link to this section Summary

Link to this section Types

Specs

state() :: %{
  optional(:prefix) => String.t(),
  :map => map(),
  :counter => pos_integer()
}