RDF.List.new
You're seeing just the function
new
, go back to RDF.List module for more information.
Specs
new(RDF.IRI.coercible(), RDF.Graph.t()) :: t()
Creates a RDF.List
for a given RDF list node of a given RDF.Graph
.
If the given node does not refer to a well-formed list in the graph, nil
is
returned. A well-formed list
- consists of list nodes which have exactly one
rdf:first
andrdf:rest
statement each - does not contain cycles, i.e.
rdf:rest
statements don't refer to preceding list nodes