RDF.Dataset.objects
You're seeing just the function
objects
, go back to RDF.Dataset module for more information.
The set of all resources used in the objects within a RDF.Dataset
.
Note: This function does collect only IRIs and BlankNodes, not Literals.
Examples
iex> RDF.Dataset.new([
...> {EX.S1, EX.p1, EX.O1, EX.Graph},
...> {EX.S2, EX.p2, EX.O2, EX.Graph},
...> {EX.S3, EX.p1, EX.O2},
...> {EX.S4, EX.p2, RDF.bnode(:bnode)},
...> {EX.S5, EX.p3, "foo"}
...> ]) |> RDF.Dataset.objects
MapSet.new([RDF.iri(EX.O1), RDF.iri(EX.O2), RDF.bnode(:bnode)])