json_ld: RDF to JSON-LD serialization
This commit is contained in:
parent
7a2c165bbb
commit
e01d641290
1 changed files with 6 additions and 0 deletions
|
@ -313,6 +313,12 @@ defmodule RDF.Dataset do
|
|||
do: Map.get(graphs, nil, Graph.new)
|
||||
|
||||
|
||||
@doc """
|
||||
The set of all graphs.
|
||||
"""
|
||||
def graphs(%RDF.Dataset{graphs: graphs}), do: graphs
|
||||
|
||||
|
||||
@doc """
|
||||
Gets and updates the graph with the given name, in a single pass.
|
||||
|
||||
|
|
Loading…
Reference in a new issue