summaryrefslogtreecommitdiff
path: root/docs/modules/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'docs/modules/nodes')
-rw-r--r--docs/modules/nodes/bnode.rst10
-rw-r--r--docs/modules/nodes/identifier.rst10
-rw-r--r--docs/modules/nodes/index.rst22
-rw-r--r--docs/modules/nodes/literal.rst10
-rw-r--r--docs/modules/nodes/node.rst10
-rw-r--r--docs/modules/nodes/quoted_graph.rst13
-rw-r--r--docs/modules/nodes/uriref.rst12
-rw-r--r--docs/modules/nodes/variable.rst9
8 files changed, 96 insertions, 0 deletions
diff --git a/docs/modules/nodes/bnode.rst b/docs/modules/nodes/bnode.rst
new file mode 100644
index 00000000..587f31a6
--- /dev/null
+++ b/docs/modules/nodes/bnode.rst
@@ -0,0 +1,10 @@
+:mod:`rdflib.term.BNode` -- RDF blank node functions
+====================================================
+
+.. automodule:: rdflib.term
+
+Module Contents
+---------------
+
+.. autoclass:: rdflib.term.BNode
+ :members:
diff --git a/docs/modules/nodes/identifier.rst b/docs/modules/nodes/identifier.rst
new file mode 100644
index 00000000..bbd0b108
--- /dev/null
+++ b/docs/modules/nodes/identifier.rst
@@ -0,0 +1,10 @@
+:mod:`rdflib.term.Identifier` -- Identifier class definition
+============================================================
+
+.. automodule:: rdflib.term
+
+Module Contents
+---------------
+
+.. autoclass:: rdflib.term.Identifier
+ :members:
diff --git a/docs/modules/nodes/index.rst b/docs/modules/nodes/index.rst
new file mode 100644
index 00000000..b9fa6a15
--- /dev/null
+++ b/docs/modules/nodes/index.rst
@@ -0,0 +1,22 @@
+.. _nodes:
+
+=======
+Nodes
+=======
+
+The RDFLib classes listed below model RDF `terms`__ in a graph and inherit from a common `Identifier`_ class, which extends Python unicode. Instances of these are nodes in an RDF graph.
+
+.. toctree::
+ :maxdepth: 2
+
+ node
+ identifier
+ bnode
+ uriref
+ literal
+ variable
+ quoted_graph
+
+
+.. __: univrdfstore.html#Terms
+.. _Identifier: http://www.w3.org/2002/07/rdf-identifer-terminology/
diff --git a/docs/modules/nodes/literal.rst b/docs/modules/nodes/literal.rst
new file mode 100644
index 00000000..ad408b9a
--- /dev/null
+++ b/docs/modules/nodes/literal.rst
@@ -0,0 +1,10 @@
+:mod:`rdflib.term.Literal` -- Literal class definition
+======================================================
+
+.. automodule:: rdflib.term
+
+Module Contents
+---------------
+
+.. autoclass:: rdflib.term.Literal
+ :members:
diff --git a/docs/modules/nodes/node.rst b/docs/modules/nodes/node.rst
new file mode 100644
index 00000000..90fd2c5d
--- /dev/null
+++ b/docs/modules/nodes/node.rst
@@ -0,0 +1,10 @@
+:mod:`rdflib.term.Node` -- Node class definition
+================================================
+
+.. automodule:: rdflib.term
+
+Module Contents
+---------------
+
+.. autoclass:: rdflib.term.Node
+ :members:
diff --git a/docs/modules/nodes/quoted_graph.rst b/docs/modules/nodes/quoted_graph.rst
new file mode 100644
index 00000000..0d202e23
--- /dev/null
+++ b/docs/modules/nodes/quoted_graph.rst
@@ -0,0 +1,13 @@
+:mod:`rdflib.graph.QuotedGraph` -- Quoted graphs
+================================================
+
+RDFLib graphs support an additional extension of RDF semantics for formulae. For the academically inclined, Graham Kyles `formal extension`__ is probably a good read.
+
+.. __: http://ninebynine.org/RDFNotes/UsingContextsWithRDF.html#xtocid-6303976
+
+Formulae are represented formally by the :class:`rdflib.Graph.QuotedGraph` class and are disjoint from regular RDF graphs in that their statements are quoted.
+
+Module Contents
+---------------
+
+.. autoclass:: rdflib.graph.QuotedGraph
diff --git a/docs/modules/nodes/uriref.rst b/docs/modules/nodes/uriref.rst
new file mode 100644
index 00000000..672d2b54
--- /dev/null
+++ b/docs/modules/nodes/uriref.rst
@@ -0,0 +1,12 @@
+:mod:`rdflib.term.URIRef` -- URIRef class definition
+====================================================
+
+.. automodule:: rdflib.term
+
+
+
+Module Contents
+---------------
+
+.. autoclass:: rdflib.term.URIRef
+ :members:
diff --git a/docs/modules/nodes/variable.rst b/docs/modules/nodes/variable.rst
new file mode 100644
index 00000000..651c9a36
--- /dev/null
+++ b/docs/modules/nodes/variable.rst
@@ -0,0 +1,9 @@
+:mod:`rdflib.term.Variable` -- Variable class definition
+========================================================
+
+.. automodule:: rdflib.term
+
+Module Contents
+---------------
+
+.. autoclass:: rdflib.term.Variable