diff options
| author | Graham Higgins <gjh-github@bel-epa.com> | 2013-01-21 20:03:08 +0000 |
|---|---|---|
| committer | Graham Higgins <gjh-github@bel-epa.com> | 2013-01-21 20:03:08 +0000 |
| commit | 35c90e770113b6cf4c198d4a5b029b5cd439f519 (patch) | |
| tree | 88a85f6a2351bd52dcd60634b19d8788b7261aaf /docs/modules | |
| parent | de2484342c4900669e3d6679c33e90421e7b1f69 (diff) | |
| download | rdflib-35c90e770113b6cf4c198d4a5b029b5cd439f519.tar.gz | |
Docs updates
Diffstat (limited to 'docs/modules')
| -rw-r--r-- | docs/modules/graphs/dataset.rst | 7 | ||||
| -rw-r--r-- | docs/modules/graphs/index.rst | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/docs/modules/graphs/dataset.rst b/docs/modules/graphs/dataset.rst new file mode 100644 index 00000000..0e2106ae --- /dev/null +++ b/docs/modules/graphs/dataset.rst @@ -0,0 +1,7 @@ +:mod:`rdflib.graph.Dataset` -- Dataset +====================================== + + +.. autoclass:: rdflib.graph.Dataset + :members: + diff --git a/docs/modules/graphs/index.rst b/docs/modules/graphs/index.rst index 5cc8a8f7..27e3656e 100644 --- a/docs/modules/graphs/index.rst +++ b/docs/modules/graphs/index.rst @@ -9,6 +9,7 @@ RDFLib defines the following kinds of Graphs: * Graph(**store**, **identifier**) * QuotedGraph(**store**, **identifier**) * ConjunctiveGraph(**store**, **default_identifier** = None) +* Dataset(**store**, **default_identifier** = None) Graph ----- @@ -45,6 +46,17 @@ This is intended to map the idea of "{ N3-expression }" that is used by N3 into quoted_graph +Dataset +------- + +The RDF 1.1 Dataset, a small extension to the Conjunctive Graph. The primary term is "graphs in the datasets" and not "contexts with quads" so there is a separate method to set/retrieve a graph in a dataset and to operate with dataset graphs. As a consequence of this approach, dataset graphs cannot be identified with blank nodes, a name is always required (RDFLib will automatically add a name if one is not provided at creation time). This implementation includes a convenience method to directly add a single quad to a dataset graph. + +.. toctree:: + :maxdepth: 2 + + dataset + + Working with graphs ------------------- |
