RDF.Graph.take
You're seeing just the function
take
, go back to RDF.Graph module for more information.
Specs
take( t(), [RDF.Star.Statement.coercible_subject()] | Enum.t() | nil, [RDF.Star.Statement.coercible_predicate()] | Enum.t() | nil ) :: t()
Creates a graph from another one by limiting its statements to those using one of the given subjects
.
If subjects
contains IRIs that are not used in the graph
, they're simply ignored.
The optional properties
argument allows to limit also properties of the subject descriptions.
If nil
is passed as the subjects
, the subjects will not be limited.