RDF.ex v0.6.1 RDF.BlankNode View Source
A RDF blank node (aka bnode) is a local node of a graph without an IRI.
see https://www.w3.org/TR/rdf11-primer/#section-blank-node and https://www.w3.org/TR/rdf11-concepts/#section-blank-nodes
Link to this section Summary
Functions
Tests for value equality of blank nodes.
Creates a RDF.BlankNode
with an arbitrary internal id.
Creates a RDF.BlankNode
with a user-defined identity.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: module()
t() :: module()
Link to this section Functions
Link to this function
equal_value?(left, right) View Source
Tests for value equality of blank nodes.
Returns nil
when the given arguments are not comparable as blank nodes.
Creates a RDF.BlankNode
with an arbitrary internal id.
Link to this function
new(id) View Source
Creates a RDF.BlankNode
with a user-defined identity.
Examples
iex> RDF.bnode(:foo)
%RDF.BlankNode{id: "foo"}